Determining relative velocity based on an expected configuration

ABSTRACT

A computer-implemented method of determining relative velocity between a vehicle and an object. The method includes receiving sensor data generated by one or more sensors of the vehicle. The one or more sensors are configured to sense an environment through which the vehicle is moving by following a scan pattern comprising component scan lines. The method includes obtaining, by one or more processors, a point cloud frame based on the sensor data and representative of the environment and identifying, by the one or more processors, a point cloud object within the point cloud frame. The method further includes determining, by the one or more processors, that the point cloud object is skewed relative to an expected configuration of the point cloud object, and determining, by the one or more processors, a relative velocity of the point cloud object by analyzing the skew of the object.

CROSS-REFERENCE TO RELATED APPLICATION

This claims the benefit of U.S. Provisional Patent Application No.62/715,030, filed on Aug. 6, 2018 and entitled “Utilizing and CorrectingObject Distortion in Point Cloud Frames,” the disclosure of which ishereby incorporated herein by reference in its entirety.

FIELD OF TECHNOLOGY

This disclosure generally relates to lidar systems, and, moreparticularly, to detecting, analyzing, correcting, and/or utilizingdistortions in a point cloud produced by lidar systems.

BACKGROUND

The background description provided herein is for the purpose ofgenerally presenting the context of the disclosure. Work of thepresently named inventors, to the extent it is described in thisbackground section, as well as aspects of the description that may nototherwise qualify as prior art at the time of filing, are neitherexpressly nor impliedly admitted as prior art against the presentdisclosure.

Self-driving or “autonomous” vehicles generally employ sensors, such aslight detection and ranging (lidar) devices, to detect or “see” thesurrounding environment as the vehicles move toward their destinations.A single lidar laser cannot scan the entire field of regard at once.Instead, lidar lasers may be configured to follow a scan pattern to scanthe field of regard. As the lidar laser follows the scan pattern, ascanner determines depth data by measuring the travel time for lightbeams that are transmitted by the lidar system and scattered orreflected by objects in the field of regard. Each of these points alongthe scan pattern are referred to as “pixels” and are correlated to thedetermined depth data. While the lidar system is capable of scanning thefield of regard at high speeds, there is still a time a delay betweenwhen the scanner determines the depth data at the various pixels of thescan pattern. Thus, if an object in the field of regard is movingrelative to the vehicle, the object may appear to be distorted.

SUMMARY

One example embodiment of the techniques of this disclosure is acomputer-implemented method of determining a relative velocity between avehicle and an object. The method includes receiving sensor datagenerated by one or more sensors of the vehicle. The one or more sensorsare configured to sense an environment of the vehicle by following ascan pattern comprising component scan lines. The method also includesobtaining, based on the sensor data and by one or more processors, apoint cloud frame representative of the environment. The point cloudframe comprises a plurality of points such that each point includesdepth data associated with the point and a time at which the depth datawas captured. Additionally, the method includes selecting, by the one ormore processors, two or more points of the scan pattern that overlap theobject. The selected points are located on or near a two-dimensionalsurface corresponding to at least part of the object, and the depth datafor two or more of the selected points are captured at different times.Further, the method includes calculating, by the one or more processors,the relative velocity between the vehicle and the object based at leastin part on the depth data and capture times associated with the selectedpoints.

Another example embodiment of the techniques of this disclosure is asystem within an autonomous vehicle. The system includes a set ofsensors configured to generate a set of sensor data by sensing anenvironment of the vehicle by following a scan pattern comprisingcomponent scan lines. The system also includes a computing systemconfigured to receive the set of sensor data. The computing system isalso configured to obtain, based on the sensor data, a point cloud framerepresentative of the environment. The point cloud frame includes aplurality of points such that each point includes depth data associatedwith the point and a time at which the depth data was captured by theset of sensors. The computing system is also configured to select two ormore points of the scan pattern that overlap an object in theenvironment. The selected points are located on or near atwo-dimensional surface corresponding to at least part of the object,and the depth data for two or more of the selected points are capturedat different times. Additionally the computing system is configured tocalculate a relative velocity between the autonomous vehicle and theobject based at least in part on the depth data and capture timesassociated with the selected points.

Another example embodiment of the techniques of this disclosure is acomputer-implemented method of determining relative velocity between avehicle and an object. The method includes receiving sensor datagenerated by one or more sensors of the vehicle. The one or more sensorsare configured to sense an environment through which the vehicle ismoving by following a scan pattern comprising component scan lines. Themethod includes obtaining, by one or more processors, a point cloudframe based on the sensor data and representative of the environment andidentifying, by the one or more processors, a point cloud object withinthe point cloud frame. The method further includes determining, by theone or more processors, that the point cloud object is skewed relativeto an expected configuration of the point cloud object, and determining,by the one or more processors, a relative velocity of the point cloudobject by analyzing the skew of the object.

Another example embodiment of the techniques of this disclosure is asystem within an autonomous vehicle. The system includes a set ofsensors configured to generate a set of sensor data by sensing anenvironment of the vehicle by following a scan pattern comprisingcomponent scan lines. The system also includes a computing systemconfigured to receive the set of sensor data and obtain a point cloudframe based on the sensor data and representative of the environment.The computing system is also configured to identify a point cloud objectwithin the point cloud frame and determine that the point cloud objectis skewed relative to an expected configuration of the point cloudobject. Additionally, the computing system is configured to determine arelative velocity of the point cloud object by analyzing the skew of theobject.

Another example embodiment of the techniques of this disclosure is acomputer-implemented method of determining relative velocity between avehicle and an object. The method includes receiving sensor datagenerated by one or more sensors of the vehicle. The one or more sensorsare configured to sense an environment through which the vehicle ismoving by following a scan pattern comprising component scan lines. Themethod also includes obtaining, based on the sensor data and by one ormore processors, a point cloud frame representative of the environment.Additionally the method includes identifying, by the one or moreprocessors, a first pixel and a second pixel that are co-located withina field of regard of the one or more sensors and overlap a point cloudobject within the point cloud frame and calculating, by the one or moreprocessors, a difference between a depth associated with the first pixeland a depth associated with the second pixel. The method also includesdetermining, by the one or more processors, a relative velocity of thepoint cloud object by dividing the difference in depth data by a timedifference between when the depth associated with the first pixel wassensed and the depth associated with the second pixel was sensed.

Another example embodiment of the techniques of this disclosure is asystem within an autonomous vehicle. The system includes a set ofsensors configured to generate a set of sensor data by sensing anenvironment of the vehicle by following a scan pattern comprisingcomponent scan lines. The system also includes a computing systemconfigured to receive the set of sensor data and obtain, based on theset of sensor data, a point cloud frame representative of theenvironment. The computing system is also configured to identify a firstpixel and a second pixel that are co-located within a field of regard ofthe one or more sensors and overlap a point cloud object within thepoint cloud frame and calculate a difference between a depth associatedwith the first pixel and a depth associated with the second pixel.Additionally, the computing system is configured to determine a relativevelocity of the point cloud object by dividing the difference in depthdata by a time difference between when the depth associated with thefirst pixel was sensed and the depth associated with the second pixelwas sensed.

Another example embodiment of the techniques of this disclosure is acomputer-implemented method of determining relative velocity between avehicle and an object. The method includes receiving sensor datagenerated by one or more sensors of the vehicle. The one or more sensorsare configured to sense an environment through which the vehicle ismoving by following a scan pattern comprising component scan lines. Themethod also includes obtaining, based on the sensor data and by one ormore processors, two or more point cloud frames representative of theenvironment and tracking, by the one or more processors, a point cloudobject across the two or more point cloud frames. Additionally, themethod includes determining, based on the tracking and by the one ormore processors, a relative velocity of the point cloud object andcorrecting, by the one or more processors, the point cloud object basedon the relative velocity of the point cloud object.

Another example embodiment of the techniques of this disclosure is asystem within an autonomous vehicle. The system includes a set ofsensors configured to generate a set of sensor data by sensing anenvironment of the vehicle by following a scan pattern comprisingcomponent scan lines. The system also includes a computing systemconfigured to receive the set of sensor data and obtain, based on theset of sensor data, two or more point cloud frames representative of theenvironment. The computing system is also configured to track a pointcloud object across the two or more point cloud frames. Additionally,the computing system is configured to determine, based on the tracking,a relative velocity of the point cloud object and correct the pointcloud object based on the relative velocity of the point cloud object.

Another example embodiment of the techniques of this disclosure is acomputer-implemented method of detecting object distortion. The methodincludes receiving sensor data generated by one or more sensors of thevehicle. The one or more sensors are configured to sense an environmentthrough which the vehicle is moving by following a scan pattern. Themethod also includes obtaining, based on the sensor data and by one ormore processors, a point cloud frame representative of the environmentand identifying, by one or more processors, a point cloud object withinthe point cloud frame. Additionally, the method includes analyzing, bythe one or more processors, the point cloud object to identify a featureof the point cloud object that has an expected shape and comparing, bythe one or more processors, the feature of the point cloud object to theexpected shape. The method also includes identifying, by the one or moreprocessors, that the point cloud object is distorted based on thefeature of the point cloud object not matching the expected shape.

Another example embodiment of the techniques of this disclosure is asystem within an autonomous vehicle. The system includes a set ofsensors configured to generate a set of sensor data by sensing anenvironment of the vehicle by following a scan pattern comprisingcomponent scan lines. The system also includes a computing systemconfigured to receive the set of sensor data and obtain, based on thesensor data, a point cloud frame representative of the environment. Thecomputing system is also configured to identify a point cloud objectwithin the point cloud frame and analyze the point cloud object toidentify a feature of the point cloud object that has an expected shape.Additionally, the computing system is configured to compare the featureof the point cloud object to the expected shape and identify that thepoint cloud object is distorted based on the feature of the point cloudobject not matching the expected shape.

Another example embodiment of the techniques of this disclosure is acomputer-implemented method of detecting object distortion. The methodincludes receiving sensor data generated by a plurality of sensors ofthe vehicle. The plurality of sensors includes a first set of one ormore sensors, wherein each sensor of the first set of sensors isconfigured to sense an environment through which the vehicle is movingby, for each frame produced by the sensor, sequentially advancingthrough a plurality of points in a scan pattern. The plurality ofsensors also include a second set of one or more sensors, wherein eachsensor of the second set of sensors is configured to sense theenvironment by, for each frame produced by the sensor, capturing anentirety of the frame at a single time. The method also includesidentifying, by one or more processors, an object within theenvironment. Additionally, the method includes analyzing, by the one ormore processors, the data sensed by the first set of sensors to identifya point cloud representation of the object and analyzing, by the one ormore processors, the data sensed by the second set of sensors toidentify the object within the data sensed by the second set of sensors.The method also includes comparing, by the one or more processors, ashape of the point cloud representation of the object to a shape of theobject as sensed by the second set of sensors and identifying, by theone or more processors, that the object is distorted based on the shapeof the point cloud representation of the object component not matchingthe shape of the object as sensed by the second set of sensors.

Another example embodiment of the techniques of this disclosure is asystem within an autonomous vehicle. The system includes a first set ofone or more sensors configured to sense an environment through which thevehicle is moving by, for each frame produced by the sensor,sequentially advancing through a plurality of points in a scan pattern.The system also includes a second set of one or more sensors configuredto sense the environment by, for each frame produced by the sensor,capturing an entirety of the frame at a single time. Additionally, thesystem includes a computing system configured to receive data generatedby the first and second sets of one or more sensors and identify anobject within the environment. The computing system is also configuredto analyze the data sensed by the first set of sensors to identify apoint cloud representation of the object and analyze the data sensed bythe second set of sensors to identify the object within the data sensedby the second set of sensors. Additionally, the computing system isconfigured to compare a shape of the point cloud representation of theobject to a shape of the object as sensed by the second set of sensorsand identify that the object is distorted based on the shape of thepoint cloud representation of the object component not matching theshape of the object as sensed by the second set of sensors.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1A illustrates an example, conventional “zigzag” scan pattern whicha light detection and ranging (lidar) system can produce whenidentifying targets within a field of regard;

FIG. 1B illustrates an example “looping” scan pattern which a lidarsystem can produce when identifying targets within a field of regard;

FIG. 2 is a block diagram of an example lidar system which can implementthe scan patterns of FIGS. 1A and/or 1B, as well as other techniques ofthis disclosure;

FIG. 3A illustrates an example vehicle in which the lidar system of FIG.2 may operate;

FIG. 3B illustrates another example vehicle in which the lidar system ofFIG. 2 may operate;

FIG. 4 illustrates an example point cloud that may be generated by thelidar system of FIG. 2 or 3;

FIG. 5 is a block diagram of a software architecture that may be used inthe lidar system of FIG. 2 or 3;

FIG. 6 is a block diagram of an example computing system for controllingan autonomous vehicle, which may be used in the lidar system of FIG. 2or 3;

FIG. 7 is a flow diagram of an example method for determining relativevelocity of a point cloud object by fitting pixels onto a surface of thepoint cloud object;

FIG. 8 is a flow diagram of an example method for determining relativevelocity of a point cloud object by analyzing a skew of the point cloudobject;

FIG. 9 is a flow diagram of an example method for determining relativevelocity of a point cloud object using co-located pixels;

FIG. 10 is a flow diagram of an example method for correcting pointcloud distortion based on tracked object velocity;

FIG. 11 is a flow diagram of an example method for detecting that apoint cloud object is distorted using features having a known shape; and

FIG. 12 is a flow diagram of an example method for method for detectingthat a point cloud object is distorted by comparing to other sensordata.

DETAILED DESCRIPTION Overview

Generally speaking, when a lidar system produces a frame of depth data(e.g., a point cloud frame), the frame includes depth data captured atdifferent times within the frame period. For instance, when the lidarsystem captures depth data indicative of a surface on which all pointsare equidistant from the lidar system, and if the surface is moving withrespect to the lidar system, the surface will be at different positionsfor different pixels within the same point cloud frame. This may causethe surface to appear skewed within the point cloud representation. Forexample, if the surface is moving closer to or more distant from thelidar system, the surface may appear to be “tilted” or “skewed” towardor away from the lidar system. As another example, if the scan lines inthe scan pattern are generally horizontal (parallel to the ground), asurface moving laterally relative to the lidar system may appear to betilted or skewed in a lateral direction, and a surface moving up or downrelative to the lidar system may appear to be longer or shorter. On theother hand, if the scan lines of the scan pattern are generally vertical(perpendicular to the ground), surfaces moving laterally relative to thelidar system may appear to be wider or narrower, and surfaces moving upor down relative to the lidar system may appear to be tilted or skewed.The term “rolling shutter distortion” is generally used herein to referto this phenomenon.

In some aspects, simply analyzing the overall shape of an object orsurface may be inadequate to determine if an object is experiencingrolling shutter distortion; in some scenarios the object or surface isactually shaped in a manner that may appear distorted. Accordingly, thelidar system is configured to implement various techniques todistinguish between objects that are experiencing rolling shutterdistortion (e.g., a telephone pole that only appears to be tilted due torelative velocity) and objects that are actually shaped in a mannersimilar to a distorted object (e.g., a telephone pole that is actuallytilted).

In one disclosed technique corresponding to one embodiment, the lidarsystem fits two or more points onto a two-dimensional surface to modelthe motion (including velocity) of the point cloud object. The lidarsystem may then use the depth data associated with the two or morepoints to model the motion of the surface to approximate the relativevelocity of the point cloud object. In some aspects, the lidar systemfits an additional two or more points associated with a different scanline to the two-dimensional surface. In these aspects, the lidar systemsdetermines and compares a relative velocity of the surface using eachset of two or more points. By comparing the polarity of the relativevelocities of the object based on depth data on subsequent scan lines,the lidar system can determine that the object is experiencing rollingshutter distortion and, if the object is distorted, the direction of thedistortion (i.e., which direction the object is moving relative to thevehicle). Moreover, by determining a rate of change between the relativevelocities, the lidar system can also determine the relativeacceleration of the object.

In another disclosed technique that is implemented in one embodiment,the lidar system analyzes co-located pixels (i.e., pixels at the samelocation in the field of regard but captured at different points of timewithin a point cloud frame) to detect rolling shutter distortion. Insome implementations, the depth data for the co-located pixels arecaptured by two different lidar scanners. In other implementations, thedepth data for the co-located pixels are captured by the same lidarscanner (i.e., the scan pattern crosses over the same location in thefield of regard at multiple points in time during the point cloudframe). By comparing the depth data for the co-located pixels, the lidarsystem can determine whether the object is moving relative to thevehicle, and thus experiencing rolling shutter distortion.

In another disclosed technique corresponding to one embodiment, thelidar system compares the shape of a point cloud to reference image datacaptured by a RGB or stereo camera to detect rolling shutter distortion.The RGB or stereo camera doesn't include delays introduced by a scanpattern, and therefore indicates the “true” shape of an object.Accordingly, the lidar system can compare the point cloud object tocorresponding RGB data to determine whether the shapes of the twoobjects match. When the shapes match, the point cloud object is notexperiencing rolling shutter distortion (i.e., the object is actuallyshaped as detected by the lidar system).

The rolling shutter distortion introduced by a lidar system scan patterngenerally impacts objects that are closer to the vehicle more thanobjects that are further away. In particular, closer objects willtypically be associated with more pixels than further away objects, andthus it takes more time to capture the depth data for all pixelscorresponding to the nearby object. This allows the object and/or thevehicle to move further within the relevant portion of the scan pattern,which in turn causes the resulting depth data to distort the object moreheavily, causing it to appear as if it is curved or skewed.

Accordingly, in still another disclosed technique corresponding to oneembodiment, the lidar system includes a database of objects (or featuresthereof) that have known, fixed shapes. For instance, license plates arerectangular, wheels are round, manufacturer logos have known, fixedshapes, etc. Thus, if the point cloud object in question includes afeature associated with one of these known, fixed shapes, the lidarsystem can determine whether the feature is curved (and therefore notmatching the known, expected shape) to determine that the object isdistorted.

Additionally, disclosed techniques leverage the fact that the amount andnature of distortion detected is indicative of the relative velocity anddirection between the object and the vehicle. In some disclosedembodiments, the lidar system detects and analyzes the amount of thedistortion to determine vehicle and/or object velocity. Thus, utilizingthe disclosed techniques, the lidar system can determine the vehicleand/or object velocity based on a single point cloud frame. This enablesthe lidar system to determine vehicle and/or object velocity faster thantraditional techniques that track objects between multiple point cloudframes.

That said, the lidar system may still track objects across multiplepoint cloud frames. For example, in one embodiment, the lidar systemdetermines relative velocity of an object using multiple point cloudframe tracking techniques. In some scenarios, a correlation betweenrelative velocity and the magnitude of distortion is determined todevelop a distortion factor indicative of the distortion introduced ineach subsequent scan line and/or pixel. The lidar system then appliesthis distortion factor to other point cloud objects to determine therelative velocity of the other point cloud objects.

In some embodiments, after detecting that a point cloud object isdistorted, the lidar system corrects the shape of the point cloud objectbefore the point cloud frame and/or object data is analyzed by aclassification module, a tracking module, or a prediction component ofthe lidar system. For example, the distortion factor can be applied toremove the distortion introduced by the time difference betweensuccessive scan lines or pixels. Accordingly, the lidar system may applyan inverse operation to shift the point cloud data to remove rollingshutter distortion.

An example lidar system in which the above techniques can be implementedis considered first with reference to FIGS. 1-4. An exampleimplementation of a vehicle controller that interacts with the examplelidar systems is then discussed with reference to FIGS. 5-6. Finally,example methods corresponding to distortion detection, analysis, andcorrection are discussed with reference to the flow diagrams of FIGS.7-12.

Example Lidar Systems

FIG. 2 illustrates an example light detection and ranging (lidar) system100. While various lidar system components and characteristics aredescribed herein, it is understood that any suitable lidar device(s) orsystem(s), and/or any other suitable types of sensors, may providesensor data for processing using the software architectures describedherein.

The example lidar system 100 may include a light source 110, a mirror115, a scanner 120, a receiver 140, and a controller 150. The lightsource 110 may be, for example, a laser (e.g., a laser diode) that emitslight having a particular operating wavelength in the infrared, visible,or ultraviolet portions of the electromagnetic spectrum. In operation,the light source 110 emits an output beam of light 125 which may becontinuous-wave, pulsed, or modulated in any suitable manner for a givenapplication. The output beam of light 125 is directed downrange toward aremote target 130 located a distance D from the lidar system 100 and atleast partially contained within a field of regard of the system 100.

Once the output beam 125 reaches the downrange target 130, the target130 may scatter or, in some cases, reflect at least a portion of lightfrom the output beam 125, and some of the scattered or reflected lightmay return toward the lidar system 100. In the example of FIG. 2, thescattered or reflected light is represented by input beam 135, whichpasses through the scanner 120, which may be referred to as a beamscanner, optical scanner, or laser scanner. The input beam 135 passesthrough the scanner 120 to the mirror 115, which may be referred to asan overlap mirror, superposition mirror, or beam-combiner mirror. Themirror 115 in turn directs the input beam 135 to the receiver 140.

The input beam 135 may include light from the output beam 125 that isscattered by the target 130, light from the output beam 125 that isreflected by the target 130, or a combination of scattered and reflectedlight from target 130. According to some implementations, the lidarsystem 100 can include an “eye-safe” laser that present little or nopossibility of causing damage to a person's eyes. The input beam 135 maycontain only a relatively small fraction of the light from the outputbeam 125.

The receiver 140 may receive or detect photons from the input beam 135and generate one or more representative signals. For example, thereceiver 140 may generate an output electrical signal 145 that isrepresentative of the input beam 135. The receiver 140 may send theelectrical signal 145 to the controller 150. Depending on theimplementation, the controller 150 may include one or moreinstruction-executing processors, an application-specific integratedcircuit (ASIC), a field-programmable gate array (FPGA), and/or othersuitable circuitry configured to analyze one or more characteristics ofthe electrical signal 145 in order to determine one or morecharacteristics of the target 130, such as its distance downrange fromthe lidar system 100. More particularly, the controller 150 may analyzethe time of flight or phase modulation for the beam of light 125transmitted by the light source 110. If the lidar system 100 measures atime of flight of T (e.g., T representing a round-trip time of flightfor an emitted pulse of light to travel from the lidar system 100 to thetarget 130 and back to the lidar system 100), then the distance D fromthe target 130 to the lidar system 100 may be expressed as D=c·T/2,where c is the speed of light (approximately 3.0×10⁸ m/s).

The distance D from the lidar system 100 is less than or equal to amaximum range R_(MAX) of the lidar system 100. The maximum range R_(MAX)(which also may be referred to as a maximum distance) of a lidar system100 may correspond to the maximum distance over which the lidar system100 is configured to sense or identify targets that appear in a field ofregard of the lidar system 100. The maximum range of lidar system 100may be any suitable distance, such as 50 m, 200 m, 500 m, or 1 km, forexample.

In some implementations, the light source 110, the scanner 120, and thereceiver 140 may be packaged together within a single housing 155, whichmay be a box, case, or enclosure that holds or contains all or part ofthe lidar system 100. The housing 155 includes a window 157 throughwhich the beams 125 and 135 pass. The controller 150 may reside withinthe same housing 155 as the components 110, 120, and 140, or thecontroller 150 may reside outside of the housing 155. In one embodiment,for example, the controller 150 may instead reside within, or partiallywithin, a perception component of a control architecture (describedbelow). In some implementations, the housing 155 includes multiple lidarsensors, each including a respective scanner and a receiver. Dependingon the particular implementation, each of the multiple sensors caninclude a separate light source or a common light source. The multiplesensors can be configured to cover non-overlapping adjacent fields ofregard or partially overlapping fields of regard, for example, dependingon the implementation. In embodiments that include partially overlappingfields of regard, the multiple sensors may direct an output beam 125 atthe same location on the target 130 at different points of time toobtain co-located depth data.

With continued reference to FIG. 2, the output beam 125 and input beam135 may be substantially coaxial. In other words, the output beam 125and input beam 135 may at least partially overlap or share a commonpropagation axis, so that the input beam 135 and the output beam 125travel along substantially the same optical path (albeit in oppositedirections). As the lidar system 100 scans the output beam 125 across afield of regard, the input beam 135 may follow along with the outputbeam 125, so that the coaxial relationship between the two beams ismaintained.

Generally speaking, the scanner 120 steers the output beam 125 in one ormore directions downrange. To accomplish this, the scanner 120 mayinclude one or more scanning mirrors and one or more actuators drivingthe mirrors to rotate, tilt, pivot, or move the mirrors in an angularmanner about one or more axes, for example. While FIG. 2 depicts only asingle mirror 115, the lidar system 100 may include any suitable numberof flat or curved mirrors (e.g., concave, convex, or parabolic mirrors)to steer or focus the output beam 125 or the input beam 135. Forexample, the first mirror of the scanner may scan the output beam 125along a first direction, and the second mirror may scan the output beam125 along a second direction that is substantially orthogonal to thefirst direction.

A “field of regard” of the lidar system 100 may refer to an area,region, or angular range over which the lidar system 100 may beconfigured to scan or capture distance information. When the lidarsystem 100 scans the output beam 125 within a 30-degree scanning range,for example, the lidar system 100 may be referred to as having a30-degree angular field of regard. The scanner 120 may be configured toscan the output beam 125 horizontally and vertically, and the field ofregard of the lidar system 100 may have a particular angular width alongthe horizontal direction and another particular angular width along thevertical direction. For example, the lidar system 100 may have ahorizontal field of regard of 10° to 120° and a vertical field of regardof 2° to 45°.

The one or more scanning mirrors of the scanner 120 may becommunicatively coupled to the controller 150, which may control thescanning mirror(s) so as to guide the output beam 125 in a desireddirection downrange or along a desired scan pattern. In general, a scan(or scan line) pattern may refer to a pattern or path along which theoutput beam 125 is directed. The lidar system 100 can use the scanpattern to generate a point cloud with points or “pixels” thatsubstantially cover the field of regard. The pixels may be approximatelyevenly distributed across the field of regard, or distributed accordingto a particular non-uniform distribution. In some embodiments, forexample as shown in FIG. 1B, two or more of the pixels may be co-locatedwithin the field of regard.

In operation, the light source 110 may emit pulses of light which thescanner 120 scans across a field of regard of the lidar system 100. Thetarget 130 may scatter one or more of the emitted pulses, and thereceiver 140 may detect at least a portion of the pulses of lightscattered by the target 130. The receiver 140 may receive or detect atleast a portion of the input beam 135 and produce an electrical signalthat corresponds to the input beam 135. The controller 150 may beelectrically coupled or otherwise communicatively coupled to one or moreof the light source 110, the scanner 120, and the receiver 140. Thecontroller 150 may provide instructions, a control signal, or a triggersignal to the light source 110 indicating when the light source 110should produce optical pulses, and possibly characteristics (e.g.,duration, period, peak power, wavelength, etc.) of the pulses. Thecontroller 150 may also determine a time-of-flight value for an opticalpulse based on timing information associated with when the pulse wasemitted by light source 110 and when a portion of the pulse (e.g., theinput beam 135) was detected or received by the receiver 140.

As indicated above, the lidar system 100 may be used to determine thedistance to one or more downrange targets 130. By scanning the lidarsystem 100 across a field of regard, the system can be used to map thedistance to a number of points (e.g., pixels) within the field ofregard. A collection of pixels captured in succession (which may bereferred to as a depth map, a point cloud, or a point cloud frame) maybe rendered as an image or may be analyzed to identify or detect objectsor to determine a shape or distance of objects within the field ofregard. For example, a depth map may cover a field of regard thatextends 60° horizontally and 15° vertically, and the depth map mayinclude a frame of 100-2000 pixels in the horizontal direction by 4-400pixels in the vertical direction.

The lidar system 100 may be configured to repeatedly capture or generatepoint cloud frames of a field of regard at any suitable frame ratebetween approximately 0.1 frames per second (FPS) and approximately1,000 FPS, for example. The point cloud frame rate may be substantiallyfixed or dynamically adjustable, depending on the implementation. Ingeneral, the lidar system 100 can use a slower frame rate (e.g., 1 Hz)to capture one or more high-resolution point clouds, and use a fasterframe rate (e.g., 10 Hz) to rapidly capture multiple lower-resolutionpoint clouds.

The field of regard of the lidar system 100 can overlap, encompass, orenclose at least a portion of the target 130, which may include all orpart of an object that is moving or stationary relative to lidar system100. For example, the target 130 may include all or a portion of aperson, vehicle, motorcycle, truck, train, bicycle, wheelchair,pedestrian, animal, road sign, traffic light, lane marking, road-surfacemarking, parking space, pylon, guard rail, traffic barrier, pothole,railroad crossing, obstacle in or near a road, curb, stopped vehicle onor beside a road, utility pole, house, building, trash can, mailbox,tree, any other suitable object, or any suitable combination of all orpart of two or more objects.

FIGS. 1A and 1B illustrate example scan patterns 160, either or both ofwhich the lidar system 100 of FIG. 2 may produce. In particular, thelidar system 100 may be configured to scan the output optical beam 125along the scan pattern 160. In some implementations, the scan pattern160 corresponds to a scan across any suitable field of regard having anysuitable horizontal field of regard (FOR_(H)) and any suitable verticalfield of regard (FOR_(V)). For example, a certain scan pattern may havea field of regard represented by angular dimensions (e.g.,FOR_(H)×FOR_(V)) 40°×30°, 90°×40°, or 60°×15°. While FIG. 1A depicts aconventional “zig-zag” pattern 160, other implementations may insteademploy other patterns (e.g., parallel, horizontal scan lines), and/orother patterns may be employed in specific circumstances. For example,the “looping” pattern 160 depicted in FIG. 1B includes co-located pixels166 (that is, a pair of co-located pixels at 166 a, and a different pairco-located pixels at 166 b) to capture depth data at the same horizontaland vertical angles in the field of regard at multiple points of timewithin the same point cloud frame. Although “co-located” is generallyused to refer to pixels at the same location within the field of regard,in some implementations, co-located refers to pixels within a small,threshold distance of one another. In some implementations thisthreshold distance is defined as a difference in in the vertical and/orhorizontal angles.

In the example implementations and/or scenarios of FIGS. 1A-1B,reference line 162 represents a center of the field of regard of scanpattern 160. Accordingly, if the scan pattern 160 has a 60°×15° field ofregard, then the scan pattern 160 covers a ±30° horizontal range withrespect to reference line 162 and a ±7.5° vertical range with respect toreference line 162. An azimuth (which may be referred to as an azimuthangle) may represent a horizontal angle with respect to the referenceline 162, and an altitude (which may be referred to as an altitudeangle, elevation, or elevation angle) may represent a vertical anglewith respect to the reference line 162.

The scan pattern 160 may include multiple points or pixels 164, and eachpixel 164 may be associated with one or more laser pulses and one ormore corresponding distance measurements. A cycle of scan pattern 160may include a total of P_(x)×P_(y) pixels 164 (e.g., a two-dimensionaldistribution of P_(x) by P_(y) pixels). The number of pixels 164 along ahorizontal direction may be referred to as a horizontal resolution ofthe scan pattern 160, and the number of pixels 164 along a verticaldirection may be referred to as a vertical resolution of the scanpattern 160.

Each pixel 164 may be associated with a distance (e.g., a distance to aportion of a target 130 from which the corresponding laser pulse wasscattered), one or more angular values. As an example, the pixel 164 maybe associated with a distance value and two angular values (e.g., anazimuth and altitude) that represent the angular location of the pixel164 with respect to the lidar system 100. A distance to a portion of thetarget 130 may be determined based at least in part on a time-of-flightmeasurement for a corresponding pulse. An angular value (e.g., anazimuth or altitude) may correspond to an angle (e.g., relative toreference line 162) of the output beam 125 (e.g., when a correspondingpulse is emitted from lidar system 100) or an angle of the input beam135 (e.g., when an input signal is received by lidar system 100). Insome implementations, the lidar system 100 determines an angular valuebased at least in part on a position of a component of the scanner 120.For example, an azimuth or altitude value associated with the pixel 164may be determined from an angular position of one or more correspondingscanning mirrors of the scanner 120. In some implementations, each pixel164 is also associated with a time value, such as a time stampindicative of when an output beam (e.g., the output beam 125) is emittedor when an input beam (e.g., the input beam 135) is detected.

FIG. 3A illustrates an example vehicle 300 with a lidar system 302. Thelidar system 302 includes a laser 310 with multiple sensor heads 312A-Dcoupled to the laser 310 via multiple laser-sensor links 314. Each ofthe sensor heads 312 may include some or all of the components of thelidar system 100 illustrated in FIG. 2.

Each of the laser-sensor links 314 may include one or more optical linksand/or one or more electrical links. The sensor heads 312 in FIG. 3A arepositioned or oriented to provide a greater than 30-degree view of anenvironment around the vehicle. More generally, a lidar system withmultiple sensor heads may provide a horizontal field of regard around avehicle of approximately 30°, 45°, 60°, 90°, 120°, 180°, 270°, or 360°.Each of the sensor heads 312 may be attached to, or incorporated into, abumper, fender, grill, side panel, spoiler, roof, headlight assembly,taillight assembly, rear-view mirror assembly, hood, trunk, window, orany other suitable part of the vehicle.

In the example of FIG. 3A, four sensor heads 312 are positioned at ornear the four corners of the vehicle (e.g., each of the sensor heads 312may be incorporated into a light assembly, side panel, bumper, orfender), and the laser 310 may be located within the vehicle 300 (e.g.,in or near the trunk). The four sensor heads 312 may each provide a 90°to 120° horizontal field of regard (FOR), and the four sensor heads 312may be oriented so that together they provide a complete 360-degree viewaround the vehicle. As another example, the lidar system 302 may includesix sensor heads 312 positioned on or around the vehicle 300, where eachof the sensor heads 312 provides a 60° to 90° horizontal FOR. As anotherexample, the lidar system 302 may include eight sensor heads 312, andeach of the sensor heads 312 may provide a 45° to 60° horizontal FOR. Asyet another example, the lidar system 302 may include six sensor heads312, where each of the sensor heads 312 provides a 70° horizontal FORwith an overlap between adjacent FORs of approximately 10°. As anotherexample, the lidar system 302 may include two sensor heads 312 whichtogether provide a forward-facing horizontal FOR of greater than orequal to 30°.

Data from each of the sensor heads 312 may be combined or stitchedtogether to generate a point cloud that covers a greater than or equalto 30-degree horizontal view around a vehicle. For example, the laser310 may include a controller or processor that receives data from eachof the sensor heads 312 (e.g., via a corresponding electrical link 320)and processes the received data to construct a point cloud covering a360-degree horizontal view around a vehicle or to determine distances toone or more targets. The point cloud or information from the point cloudmay be provided to a vehicle controller 322 via a correspondingelectrical, optical, or radio link 320. The vehicle controller 322 mayinclude one or more CPUs, GPUs, and a non-transitory memory withpersistent components (e.g., flash memory, an optical disk) and/ornon-persistent components (e.g., RAM).

In some implementations, the point cloud is generated by combining datafrom each of the multiple sensor heads 312 at a controller includedwithin the laser 310, and is provided to the vehicle controller 322. Inother implementations, each of the sensor heads 312 includes acontroller or processor that constructs a point cloud for a portion ofthe 360-degree horizontal view around the vehicle and provides therespective point cloud to the vehicle controller 322. The vehiclecontroller 322 then combines or stitches together the points clouds fromthe respective sensor heads 312 to construct a combined point cloudcovering a 360-degree horizontal view. Still further, the vehiclecontroller 322 in some implementations communicates with a remote serverto process point cloud data.

In some embodiments, respective controllers included within the multiplesensor heads 312 process their respectively constructed point clouds todetect, analyze, and/or correct for distortion, including rollingshutter distortion, prior to providing the constructed point cloud tothe laser 310 or the vehicle controller 312. In other embodiments, acontroller included within the laser 310 processes the point cloud tocorrect for detect, analyze, and/or correct distortion, includingrolling shutter distortion, prior to providing the point cloud to thevehicle controller 322. For example, in implementations where themultiple sensor heads 312 construct respective point clouds, the laser310 may analyze the constructed point clouds to detect and correct fordistortion prior to combining or stitching the point clouds together. Asanother example, in implementations where the multiple sensors heads 312do not construct the point cloud, the laser 310 detects, analyzes,and/or corrects for the distortion while combining the raw data from themultiple sensor heads. In still other embodiments, the vehiclecontroller 322 analyzes point clouds data provided by the laser 310 orthe multiple sensor heads 312 to detect, analyze, and/or correct fordistortion, including rolling shutter distortion, prior to processingthe point cloud via the various components of the vehicle controller 322described herein.

In any event, the vehicle 300 may be an autonomous vehicle where thevehicle controller 322 provides control signals to various components330 within the vehicle 300 to maneuver and otherwise control operationof the vehicle 300. The components 330 are depicted in an expanded viewin FIG. 3A for ease of illustration only. The components 330 may includean accelerator 340, brakes 342, a vehicle engine 344, a steeringmechanism 346, lights 348 such as brake lights, head lights, reverselights, emergency lights, etc., a gear selector 350, and/or othersuitable components that effectuate and control movement of the vehicle300. The gear selector 350 may include the park, reverse, neutral, drivegears, etc. Each of the components 330 may include an interface viawhich the component receives commands from the vehicle controller 322such as “increase speed,” “decrease speed,” “turn left 5 degrees,”“activate left turn signal,” etc. and, in some cases, provides feedbackto the vehicle controller 322.

In some implementations, the vehicle controller 322 receives point clouddata from the sensor heads 312 or laser 310 via the link 320 andanalyzes the received point cloud data to sense or identify targets 130(see FIG. 1) and their respective locations, distances, speeds, shapes,sizes, type of target (e.g., vehicle, human, tree, animal), etc. Thevehicle controller 322 then provides control signals via the link 320 tothe components 330 to control operation of the vehicle based on theanalyzed information. One, some or all of the components 330 may be theoperational subsystems, or may be included within the operationalsubsystems, that receive the control signals.

In addition to the lidar system 302, the vehicle 300 may also beequipped with other sensors such as a RGB or stereo camera, a thermalimager, a conventional radar (none illustrated to avoid clutter), etc.The sensors can provide additional data to the vehicle controller 322via wired or wireless communication links. Further, the vehicle 300 inan example implementation includes a microphone array operating as apart of an acoustic source localization system configured to determinesources of sounds.

As another example, FIG. 3B illustrates a vehicle 360 in which a laser370 is optically coupled to six sensor heads 372, each of which may besimilar to one of the sensor heads 312 of FIG. 3A. The sensor heads 372Aand 372G are disposed at the front of the hood, the sensor heads 372Band 372F are disposed in the side view mirrors, and the sensor heads372C-E are disposed on the trunk. In particular, the sensor head 372D isoriented to face backward relative to the orientation of the vehicle360, and the sensor heads 372C-E are oriented at approximately 45degrees relative to the axis of orientation of the sensor head 372D.

FIG. 4 depicts an example point cloud 390 that is generated by a lidarsystem scanning the vehicle environment (e.g., the lidar system 100 ofFIGS. 1 and 2 or the lidar system 302 of FIG. 3A). The vehicleenvironment may include a divided highway that has a median separatingthe two directions of traffic, with multiple lanes in each direction.The vehicle environment may also include light poles on either side ofthe road and/or in the median. The point cloud 390 of FIG. 4 correspondsto an example embodiment in which a lidar device captures a roughly 60degree horizontal field of regard in front of the vehicle 300. The pointcloud 390 may have been generated using the sensor heads 312A or 312D ofFIG. 3A, or the sensor heads 372A or 372G of FIG. 3B, for example. Whiledepicted as a visual image in FIG. 4, it is understood that, in someembodiments, the point cloud 390 is not actually rendered or displayedat any time.

As seen in FIG. 4, the point cloud 390 depicts a ground plane 394 (here,the road surface) as a number of substantially continuous scan lines,and also depicts, above the ground plane 394, a number of objects 396(also referred to as “point cloud objects”). For clarity, only a smallnumber of the objects shown in FIG. 4 are labeled with a referencenumber. Distinct ones of the objects 396 within the point cloud 390 maybe identified by a segmentation module of the vehicle controller 322 ofFIG. 3A. For example, the segmentation module may detect substantialgaps and/or other discontinuities in the scan lines of the ground plane394, and identify groups of points in the vicinity of thosediscontinuities as discrete objects. The segmentation module maydetermine which points belong to the same object using any suitablerules, algorithms or models. Once the objects 396 are identified, aclassification module of the vehicle controller 322 of FIG. 3A mayattempt to classify the objects, and a tracking module of the vehiclecontroller 322 of FIG. 3A may attempt to track the classified objects(and, in some embodiments/scenarios, unclassified objects) across futurepoint clouds similar to point cloud 390 (i.e., across multiple pointcloud frames).

For various reasons, it may be more difficult for the segmentationmodule to identify certain objects 396, and/or for the classificationmodule to classify certain objects 396, within the point cloud 390. Ascan also be seen in FIG. 4, for example, a vehicle 396A may berelativity easy to identify and classify due to the high density ofpoints, but more difficult to classify due to the lack of points withinthe lidar shadow (i.e., the absence or relative scarcity of points)along the lower right portions of the vehicle 396C created by therelative positioning of the vehicle 396C with respect to the vehicle300. A light pole 396B may also be relatively easy to identify as anobject, due to the high density of points and readily identifiableshape, but may not be as easy to classify due to the fact that largeportions of the light pole 396B are distorted (e.g., as shown by themiddle portion leaning away from the vehicle 300). The van 396C may berelatively easy to identify as an object, but more difficult to classifydue to distortion causing the van 396C to appears as though it is tiltedaway from the vehicle 300. Still other objects may be difficult toidentify, classify and/or track due to their small size and/or lowprofile. For example, while not shown in FIG. 4, the segmentation modulemay identify (and the classification module may classify) lane markingswithin the point cloud 390. The lane markings may appear as small butabrupt deviations in the path of the scan lines, for example, with thosedeviations collectively forming a line pattern that aligns with thedirection of travel of the autonomous vehicle (e.g., approximatelynormal to the curve of the scan lines).

Despite such difficulties, the segmentation module, classificationmodule and/or tracking module may use techniques that make objectidentification, classification and/or tracking highly accurate across avery wide range of scenarios, with scarce or otherwise suboptimal pointcloud representations of objects. For example, the segmentation module,classification module and/or tracking module may include neural networksthat were trained using data (e.g., manually labeled scenes)corresponding to a very large number of diverse environments/scenarios(e.g., with various types of objects at different distances, indifferent orientations, with different degrees of concealment, indifferent weather and/or lighting conditions, and so on).

As another example, in embodiments in which the vehicle controller 322of FIG. 3A detects object distortion, a distortion correction module ofthe vehicle controller 322 analyzes the identified objects 396 to detectand correct distortion. For example, as depicted in FIG. 4, the lightpole 396B and the van 396C exhibit distortion causing the light pole396B and van 396C to appear as though they are skewed away from thevehicle 300. Accordingly, the distortion correction module may detectthe distortion, modify the point cloud 390 to correct for thedistortion, analyze the distortion to determine the velocity of one ormore objects 396, etc. Correcting the distortion of the objects 396 mayimprove the accuracy of the classification module and/or the trackingmodule (see description of FIG. 5, below), for example. Ultimately,improving the correlation between the point cloud 390 and the actualvehicle environment may provide a smoother ride for passengers and/orreduce the likelihood of a collision.

Example Vehicle Controllers

FIG. 5 illustrates an example software architecture 400, which may beutilized in the lidar system 100 or 302 of FIG. 2 or 3, respectively.The software architecture 400 receives as input M sets of sensor data402 generated by M different sensors, with M being any suitable integerequal to or greater than one. The sensor data 402 may be data generatedby the sensor heads 312 of FIG. 3 or any of the other non-illustratedsensors included in the lidar system 302 of FIG. 3. For example, inaddition to the lidar sensor heads 312, the lidar system may includecameras, radar devices, thermal imaging units, IMUs, and/or other sensortypes. In one example, “sensor data 1” may include frames of point clouddata generated by a first sensor head 312A, “sensor data 2” may includeframes of point cloud data generated by a second sensor head 312B,“sensor data 3” (not shown in FIG. 3) may include frames of digitalimages generated by a RGB camera, and so on.

The sensor data 402 is input to a perception component 406 of thesoftware architecture 400, and is processed by the perception component406 to generate perception signals 408 descriptive of a current state ofthe autonomous vehicle's environment. It is understood that the term“current” may actually refer to a very short time prior to thegeneration of any given perception signals 408, e.g., due to the shortprocessing delay introduced by the perception component 406 and otherfactors. To generate the perception signals, the perception componentmay include a segmentation module 410, a classification module 412, atracking module 414, and a distortion correction module 416.

The segmentation module 410 is generally configured to identify distinctobjects within the sensor data 402 representing the sensed environment.Depending on the embodiment and/or scenario, the segmentation task maybe performed separately for each of a number of different types ofsensor data, or may be performed jointly on a fusion of multiple typesof sensor data. In some embodiments where lidar devices are used, thesegmentation module 410 analyzes point cloud frames to identify subsetsof points within each frame that correspond to probable physical objectsin the environment. In other embodiments, the segmentation module 410jointly analyzes lidar point cloud frames in conjunction with cameraimage frames to identify objects in the environment. Other suitabletechniques, and/or data from other suitable sensor types, may also beused to identify objects. It is noted that, as used herein, referencesto different or distinct “objects” may encompass physical things thatare entirely disconnected (e.g., with two vehicles being two different“objects”), as well as physical things that are connected or partiallyconnected (e.g., with a vehicle being a first “object” and the vehicle'shitched trailer being a second “object”).

The segmentation module 410 may use predetermined rules or algorithms toidentify objects. For example, the segmentation module 410 may identifyas distinct objects, within a point cloud, any clusters of points thatmeet certain criteria (e.g., having no more than a certain maximumdistance between all points in the cluster, etc.). Alternatively, thesegmentation module 410 may utilize a neural network that has beentrained to identify distinct objects within the environment (e.g., usingsupervised learning with manually generated labels for different objectswithin test data point clouds, etc.), or another type of machinelearning based model. For example, the segmentation module 410 mayanalyze the point cloud 390 of FIG. 4 to identify objects 396.

The classification module 412 is generally configured to determineclasses (labels, categories, etc.) for different objects that have beenidentified by the segmentation module 410. Like the segmentation module410, the classification module 412 may perform classification separatelyfor different sets of the sensor data 402, or may classify objects basedon data from multiple sensors, etc. Moreover, and also similar to thesegmentation module 410, the classification module 412 may executepredetermined rules or algorithms to classify objects, or may utilize aneural network or other machine learning based model to classifyobjects. For example, the classification module 412 may classify theobject 396C of FIG. 4 as a truck and the object 396A as a car.

In some implementations, the classification module 412 communicates withan object database (not depicted) that stores information associatedwith object types. For example, the object database may includeinformation that indicates how an object of the corresponding objecttype should appear in a point cloud. In some implementations, thisindication may be a generic model for an object of the particular type.As one example, an object database record for a particular model of carmay include a three-dimensional model of the car, to which objectsidentified by the segmentation module 410 are compared during theclassification process. In some additional implementations, the modelincludes indications of particular features of the object that haveknown shapes (e.g., a license plate, a tire, manufacturer emblem, etc.).As will be described below, this model of the object, including theparticular features thereof, may be used to detect whether objectsidentified by the segmentation module 410 actually have a skewed shape,or instead have a distorted appearance in the point cloud frame due torolling shutter distortion.

The tracking module 414 is generally configured to track distinctobjects over time (e.g., across multiple lidar point cloud or cameraimage frames). The tracked objects are generally objects that have beenidentified by the segmentation module 410, but may or may not be objectsthat were classified by the classification module 412, depending on theembodiment and/or scenario. The segmentation module 410 may assignidentifiers to identified objects, and the tracking module 414 mayassociate existing identifiers with specific objects where appropriate(e.g., for lidar data, by associating the same identifier with differentclusters of points, at different locations, in successive point cloudframes) Like the segmentation module 410 and the classification module412, the tracking module 414 may perform separate object tracking basedon different sets of the sensor data 402, or may track objects based ondata from multiple sensors. Moreover, and also similar to thesegmentation module 410 and the classification module 412, the trackingmodule 414 may execute predetermined rules or algorithms to trackobjects, or may utilize a neural network or other machine learning modelto track objects.

The distortion correction module 416 is generally configured to detectthat an object is distorted, analyze distortion to determine a relativevelocity of the object, and/or correct distorted objects such that theyno longer appear distorted. In one implementation, newly identifiedobjects by the segmentation module 410 are analyzed by the distortioncorrection module 416. In some embodiments, the distortion correctionmodule 416 jointly analyzes lidar point cloud frames in conjunction withcamera image frames to determine whether objects are distorted. In someimplementations, the newly identified objects are analyzed by thedistortion correction module 416 prior to the objects being analyzed bythe classification module 412 and/or the tracking module 414.Additionally or alternatively, objects tracked by the tracking module414 are analyzed by the distortion correction module 416 when the sensordata 402 indicates a new point cloud frame. In some embodiments, thedistortion correction module 416 analyzes the amount of distortion of anobject to determine a velocity or relative velocity of at least one ofthe distorted object, another object, or the vehicle. Moreover, and alsosimilar to the segmentation module 410, the classification module 412,and the tracking module 414, the distortion correction module 416 mayexecute predetermined rules or algorithms, or may utilize a neuralnetwork or other machine learning model to detect distortion, correctdistortion, and/or correlate an amount of distortion to relativevelocity.

The software architecture 400 also includes a prediction component 420,which processes the perception signals 408 to generate predictionsignals 422 descriptive of one or more predicted future states of theautonomous vehicle's environment. For a given object, for example, theprediction component 420 may analyze the type/class of the object (asdetermined by the classification module 412) along with the recenttracked movement of the object (as determined by the tracking module414) to predict one or more future positions of the object. As arelatively simple example, the prediction component 420 may assume thatany moving objects will continue to travel on their current directionand with their current speed, possibly taking into account first- orhigher-order derivatives to better track objects that have continuouslychanging directions, objects that are accelerating, and so on. In someembodiments, the prediction component 420 also predicts movement ofobjects based on more complex behaviors. For example, the predictioncomponent 420 may assume that an object that has been classified asanother vehicle will follow rules of the road (e.g., stop whenapproaching a red light), and will react in a certain way to otherdynamic objects (e.g., attempt to maintain some safe distance from othervehicles). The prediction component 420 may inherently account for suchbehaviors by utilizing a neural network or other machine learning model,for example. The prediction component 420 may be omitted from thesoftware architecture 400, in some embodiments.

A mapping component 430 obtains map data (e.g., a digital map includingthe area currently being traversed by the autonomous vehicle) and/ornavigation data (e.g., data indicating a route for the autonomousvehicle to reach the destination, such as turn-by-turn instructions),and outputs the data (possibly in a converted format) as mapping andnavigation signals 432. In some embodiments, the mapping and navigationsignals 432 include other map- or location-related information, such asspeed limits, traffic indicators, and so on. The signals 432 may beobtained from a remote server (e.g., via a cellular or othercommunication network of the autonomous vehicle, or of a smartphonecoupled to the autonomous vehicle, etc.), and/or may be locally storedin a persistent memory of the autonomous vehicle.

A motion planner 440 processes the perception signals 408, theprediction signals 422, and the mapping and navigation signals 432 togenerate decisions 442 regarding the next movements of the autonomousvehicle. The motion planner 440 may use any suitable architecture ortechnique to generate the decisions 442, such as one or more trainedmachine learning models, or a model predictive control (MPC) technique,for example. Depending on the type of the motion planner 440, thedecisions 442 may be operational parameters (e.g., braking, speed andsteering parameters) or particular maneuvers (e.g., turn left, move toright lane, move onto shoulder of road, etc.). In some embodiments, thedecisions 442 may be provided to one or more components of theautonomous vehicle (e.g., if the decisions 442 indicate specificoperational parameters) such as the components 330 of FIG. 3, or may beprovided to one or more intermediate stages that convert the decisions442 to operational parameters (e.g., if the decisions indicate specificmaneuvers) prior to providing the operation parameters to the vehiclecomponents 330.

FIG. 6 is a block diagram of an example computing system 500 forcontrolling an autonomous vehicle. The computing system 500 may beintegrated within an autonomous vehicle in any suitable manner, and atany suitable location or locations within the vehicle. The computingsystem 500 may be included, or partially included, within the vehiclecontroller 322 of FIG. 3, for example. The computing system 500 includesone or more processors 502, and a memory 504 storing vehicle controllerinstructions 506. The one or more processors 502 execute the vehiclecontroller instructions 506 to implement the disclosed techniques,including, in one embodiment, the software architecture 400 of FIG. 5.

In embodiments where the processor(s) 502 include more than a singleprocessor, each processor may be a different programmable microprocessorthat executes software instructions stored in the memory 504.Alternatively, each of the processor(s) 502 may be a different set ofsuch microprocessors, or a set that includes one or more microprocessorsand one or more other processor types (e.g., ASICs, FPGAs, etc.) forcertain functions.

The memory 504 may include one or more physical memory devices withnon-volatile memory. Any suitable memory type or types may be used, suchas ROM, solid-state drives (SSDs), hard disk drives (HDDs), and so on.The processor(s) 502 are coupled to the memory 504 via a bus or othernetwork 508. The network 508 may be a single wired network, or mayinclude any suitable number of wired and/or wireless networks. Forexample, the network 508 may be or include a controller area network(CAN) bus, a Local Interconnect Network (LNN) bus, and so on.

Also coupled to the network 508 are a vehicle control interface 510, apassenger interface 512, a sensor interface 514, and a network interface516. Each of the interfaces 510, 512, 514 and 516 may include one ormore processors (e.g., ASICs, FPGAs, microprocessors, etc.) and/or otherhardware, firmware and/or software to enable communication with systems,subsystems, devices, etc., that are external to the computing system500.

The vehicle control interface 510 is generally configured to providecontrol data generated by the processor(s) 502 to the appropriateoperational subsystems of the autonomous vehicle, such that theappropriate subsystems can effectuate driving decisions made by theprocessor(s) 502. Referring to FIG. 5, for example, the vehicle controlinterface 510 may provide the control signal operational parametersassociated with the decisions 442 to the appropriate subsystem(s) (e.g.,accelerator 340, brakes 342, and steering mechanism 346 of FIG. 3A). Insome embodiments, the vehicle control interface 510 includes separateinterface hardware, firmware and/or software for different operationalsubsystems.

The passenger interface 512 is generally configured to provide alerts,warnings, notifications, and/or other information to one or morepassengers of the autonomous vehicle. In some embodiments where thevehicle is not fully autonomous (e.g., allowing human driving in certainmodes and/or situations), the interface 512 may specifically providesuch information to the driver (e.g., via dashboard indicators, etc.).As just one example, the passenger interface 512 may cause a displayand/or speaker in the vehicle to generate an alert when the processor(s)502 (executing the vehicle controller instructions 506) determine that acollision with another object is likely. As another example, thepassenger interface 502 may cause a display in the vehicle to show anestimated time of arrival (ETA) to passengers. In some embodiments, thepassenger interface 512 also permits certain user inputs. If the vehiclesupports passenger selection of specific driving styles, for example,the passenger interface 512 may cause a display to present a virtualcontrol (e.g., button) that a passenger may activate (e.g., touch,scroll through, etc.) to select a particular driving style.

The sensor interface 514 is generally configured to convert raw sensordata from one or more sensor devices (e.g., lidar, camera, microphones,thermal imaging units, IMUs, etc.) to a format that is consistent with aprotocol of the network 508 and is recognized by one or more of theprocessor(s) 502. The sensor interface 514 may be coupled to the lidarsystem 100 of FIG. 1 or 2 or the lidar system 302 of FIG. 3A, forexample, with the sensor interface 514 converting point cloud data to anappropriate format. In some embodiments, the sensor interface 514includes separate interface hardware, firmware and/or software for eachsensor device and/or each sensor type.

The network interface 516 is generally configured to convert datareceived from one or more devices or systems external to the autonomousvehicle to a format that is consistent with a protocol of the network508 and is recognized by one or more of the processor(s) 502. In someembodiments, the network interface 516 includes separate interfacehardware, firmware and/or software for different external sources. Forexample, a remote mapping/navigation server may send mapping andnavigation/route data to the computing system 500 via a cellular networkinterface of the network interface 516, while one or more peer vehicles(e.g., other autonomous vehicles) may send data (e.g., current positionsof the other vehicles) to the computing system 500 via a WiFi networkinterface of the network interface 516. Other types of external data mayalso, or instead, be received via the network interface 516. Forexample, the computing system 500 may use the network interface 516 toreceive data representing rules or regulations (e.g., speed limits),object positions (e.g., road rails, overhanging signage, etc.), and/orother information from various infrastructure devices or systems.

In some embodiments, the vehicle controller instructions 506 utilizeexternal data that is received by the network interface 516 from othervehicles, infrastructure, and/or other external devices/systems as aninput to one or more components. In such an embodiment, the externaldata may include raw sensor data that is indicative of the vehicleenvironment (but was generated off-vehicle), and/or may includehigher-level information that was generated externally using raw sensordata.

The network 508 may also couple to other types of interfaces and/orcomponents, and/or some of the interfaces shown in FIG. 6 may be omitted(e.g., the network interface 516). Moreover, it is understood that thecomputing system 500 represents just one possible configuration forsupporting the software architectures, functions, features, etc.,described herein, and that others are also within the scope of thisdisclosure.

Example Method of Fitting Pixels to a Surface to Determine RelativeVelocity

FIG. 7 depicts an example method 600 for determining the relativevelocity of a point cloud object by fitting pixels onto a surface of thepoint cloud object, for example, one of the objects 396 of the pointcloud 390 depicted in FIG. 4. The method 600 may beimplemented/performed by the computing system 500 of FIG. 6 (e.g., bythe processor(s) 502 when executing the vehicle controller instructions506 stored in memory 504), for example, by another suitable computingdevice or system (such as a controller of the laser 310 or the sensorheads 312 of FIG. 3A, or the software architecture 400 of FIG. 5), or bya combination thereof.

At bock 602, sensor data is received. The sensor data may include lidardepth data (e.g., sensed by the lidar system 100 of FIGS. 1 and 2, orthe lidar system 302 of FIG. 3A), lidar point cloud data (e.g., stitchedor compiled lidar depth data), camera data, and/or any other type ofsensor data discussed above in connection with the sensor data 402 ofFIG. 5, for example.

At block 604, a point cloud frame based on the sensor data received atblock 602 is obtained. In some embodiments, the sensor data received atblock 602 includes the point cloud frame (e.g., a laser controller orsensor head controller stitched depth data together to form the pointcloud). In these embodiments, block 604 may include extracting the pointcloud frame from rest of the sensor data received at block 602. In otherembodiments, block 604 includes analyzing depth or lidar data includedin the sensor data received at block 602 to generate the point cloudframe, as discussed in connection to FIG. 3, for example.

At block 606, two or more pixels that overlap a point cloud object areselected from the point cloud frame. In some implementations, the twopoints correspond to the same object as identified by a segmentationmodule. In other implementations, the two points are selected based onbeing within a threshold distance of one another. The selected pointsmay be located on or near a two-dimensional surface corresponding to atleast part of the point cloud object and captured at different times.Each of the pixels may be associated with depth data and time data. Inone scenario, pixels 164 a and 164 b of FIG. 1A overlap the same pointcloud object and are selected at block 606. In this scenario, the pixels164 a and 164 b are fitted to a two-dimensional plane used to model theobject's two-dimensional surface. The general equation for a planemoving through an environment is represented by the following equation:

a′(x−v _(x) t)+b′(y−v _(y) t)+c′(z−v _(z) t)+1=0  (Eq. 1)

Accordingly, as it is generally used herein, “fitting” the pixels to aplane includes modeling the point cloud object's surface as atwo-dimensional plane moving through the vehicle environment such thatthe pixels are included within (i.e., satisfy the equation for) thetwo-dimension plane.

At block 608, a relative velocity of the point cloud object isdetermined based on depth and time data associated with the selectedpixels. In some implementations, it is assumed that the plane is notmoving along the vertical axis with respect to the vehicle. Using thisassumption, the motion of the two-dimensional plane may be representedusing the following equation:

a′(x−v _(x) t)+b′(y−v _(y) t)+c′(z)+1=0  (Eq. 2)

where a′, b′, and c′ are constants, x, y, and z are indicative ofposition with respect to the x, y, and z axes (such as the longitudinal,lateral, and vertical axes), respectively, and v_(x) and v_(y) are thecomponent of the plane velocity in the x and y directions respectively.To calculate relative velocity based on only the two selected pixels, itmay be further assumed that the plane is not moving along the y-axis(e.g., lateral axis) and that the plane is oriented to be perpendicularto the x-axis (e.g., longitudinal axis). That is, it is assumed theplane is fixed in a vertical orientation and moving solely along thelongitudinal axis. Using these additional assumptions, the equation ofthe plane may be represented as:

a′(x−v _(x) t)+1=0  (Eq. 3)

The time and depth data associated with the first and second pixels canthen be plugged into Equation 3 to solve for v_(x) (as well as a′). Thatis, depth data x₁ captured at time t₁ and depth data x₂ captured at timet₂ associated with the first and second pixels is input into a best fitalgorithm (such as a least square sum algorithm, a polynomial regressionalgorithm, etc.) to solve for v_(x). Because it is assumed that theplane is only moving in the longitudinal direction, v_(x) is therelative velocity of the point cloud object.

In other implementations, three or more pixels (such as pixels 164 a,164 b, and 164 c of FIG. 1A) are selected at block 606. In theseimplementations, the equation of the plane determined with respect tothe first two selected pixels is rotated about a single axis to fit thethird pixel into the plane. Said another way, rotating the plane about asingle axis to fit the third pixel solves for one of b′ or c′. Assumingthat the other constant is 0, then Equation 1 can be solved for v_(x)and v_(y) or v_(x) and v_(z) (as well as a′) using another best fitalgorithm that utilizes the time and depth data for the three selectedpixels as an input.

In still further implementations, four or more pixels (such as pixels164 a, 164 b, 164 c, and 164 d of FIG. 1A) are selected at block 606. Inthese implementations, the equation of the plane determined with respectto the first two selected pixels is rotated about two axes to fit thethird and fourth pixels into the plane. Said another way, rotating theplane about two axes to fit the third and fourth pixels solves for bothof b′ and c′. Accordingly, Equation 1 can be solved for v_(x), v_(y) andv_(z) (as well as a′) using another best fit algorithm that utilizes thetime and depth data for the four selected pixels as an input.

In yet further implementations, rather than assuming the point cloudobject is a plane, block 608 assumes that the point cloud object canhave any shape. Thus, using the two selected pixels, the relativevelocity of the point cloud object can be calculated using the followingequation:

$\begin{matrix}{v = \frac{\Delta \; d}{\Delta \; t}} & \left( {{Eq}.\mspace{14mu} 4} \right)\end{matrix}$

where Δd is the depth difference between the two selected pixel and Δtis the time difference between when the depth data for the two pixelswas captured. In some scenarios, the first and second pixels are part ofthe same scan line that traverses the vehicle environment. In otherscenarios, the first pixel is part of a first scan line of pixels thatare displaced from one another in a first direction and the second pixelis part of a second scan line of pixels that is substantially parallelto the first scan line and comprised of pixels that are displaced fromone another in a second direction substantially orthogonal to the firstdirection.

In some embodiments, the method 600 includes one or more additionalblocks not shown in FIG. 7. For example, in some embodiments, anothertwo or more pixels that overlap the point cloud object in a differentregion may be selected. This additional block may then calculate arelative velocity of this different region using the techniquesdescribed above with respect to blocks 606 and 608. Accordingly, thisadditional block may include comparing the two different relativevelocities for the two different regions to determine that the pointcloud object is rotating with respect to the vehicle, for example, bydetermining that the relative velocities are not the same.

As another example, the method 600 may include a block to detect thatthe point cloud object is distorted. Accordingly, at block 606, two ormore pixels that are part of a scan line that traverses the vehicleenvironment in a first direction (e.g., pixels 164 a and 164 b of FIG.1A) and two or more pixels that are part of a scan line that traversesthe vehicle environment in a second direct (e.g., pixels 164 c and 164d) are selected. This additional block may include calculating a firstrelative velocity using the first two pixels and a second relativevelocity using the second two pixels, for example by using Equation 4.Accordingly, if the polarity of the relative velocities do not match(e.g., the depth at pixel 164 a minus the depth at pixel 164 b has adifferent polarity than the depth at pixel 164 c minus the depth atpixel 164 d), then the point cloud object exhibits rolling shutterdistortion. Additionally or alternatively, this additional blockincludes comparing the magnitude of the two relative velocities. In someaspects, a rate of change between the relative velocities is analyzed todetermine a relative acceleration. In other aspects, when the tworelative velocities have approximately the same magnitude, it is likelythat all four pixels overlap the point cloud object. Therefore, one ofthe first relative velocity, the second relative velocity, or an averagerelative velocity therebetween is associated with the point cloudobject, for example, by the perception component 406 of FIG. 5. Itshould be appreciated that if the magnitude of one of the relativevelocities exceeds a threshold value, then it is likely that one of thepixels does not actually overlap the point cloud object. Therefore,relative velocities that exceed this threshold may be discarded.

As another additional block, the method 600 may include correcting therolling shutter distortion based on the relative velocity determined atblock 608. For example, a machine learning module (e.g., one that istrained using reinforcement learning) may associate an amount ofdistortion to relative velocity and point cloud object depth. Inparticular, the machine learning model may operate on (i.e., use asinputs) the relative velocity determined at block 608 and the depth dataof the selected pixels to determine a correction factor to compensatefor delay introduced by successive pixels and/or scan lines included ina scan pattern.

Another additional block of the method 600 may include determining anobject velocity (as opposed to relative velocity). For example, arelative velocity of a point cloud object that is known to be stationary(e.g., the point cloud object is classified as a light pole, a streetsign, a tree, a bench, a power line, a building, a median, etc.) may bedetermined using the techniques of blocks 606 and 608. Because the pointcloud object is known to be stationary, the relative velocity iscomprised solely of the vehicle's velocity. Said another way, bydetermining the relative velocity with respect to a known, stationaryobject, the vehicle velocity can be determined. Subsequently, thevehicle velocity can be subtracted from the relative velocity determinedwith respect to the identified point cloud object to determine objectvelocity.

As still another example additional block, the point cloud object(either corrected or uncorrected) and the relative velocity may beanalyzed, for example by a portion of the perception component 406 ofFIG. 5 (e.g., classification module 412 and/or tracking module 414)and/or the prediction component 420 of FIG. 5, to classify the object,track the object, and/or predict a future state of the vehicleenvironment. This additional block may further include generating one ormore control signals (e.g., operational parameters) that controloperation of the vehicle and/or the particular components thereof basedon the current perceived state and/or the predicted future state. As oneexample, if the relative velocity indicates that the point cloud objectis rapidly increasing its speed in the direction towards the vehiclealong the longitudinal axis, then the block may include generate acontrol signal to apply the vehicle brakes.

Example Methods of Determining Relative Velocity Based on Distortion

FIGS. 8, 9, and 10 depict example methods 700, 720, and 740,respectively, for determining the relative velocity of a point cloudobject, for example, one of the objects 396 of the point cloud 390depicted in FIG. 4. The method 700 of FIG. 8 relates to embodiments thatdetermine relative velocity based on a scan pattern that includessuccessive scan lines that overlap the object, while the method 720 ofFIG. 9 relates to embodiments that determine relative velocity based ondepth data associated with co-located pixels. Both of the methods 700and 720 rely on data captured during a single point cloud frame. On theother hand, the method 740 of FIG. 10 relates to embodiments thatcorrect point cloud distortion based on tracked object velocity. Themethods 700, 720, and 740 may be implemented/performed by the computingsystem 500 of FIG. 6 (e.g., by the processor(s) 502 when executing thevehicle controller instructions 506 stored in memory 504), for example,by another suitable computing device or system (such as a controller ofthe laser 310 or the sensor heads 312 of FIG. 3A, or the softwarearchitecture 400 of FIG. 5), or by a combination thereof.

Referring first to the method 700 of FIG. 8, sensor data is received atblock 702. The sensor data may include lidar depth data (e.g., sensed bythe lidar system 100 of FIGS. 1 and 2, or the lidar system 302 of FIG.3A), lidar point cloud data (e.g., stitched or compiled lidar depthdata), camera data, and any other type of sensor data discussed above inconnection with the sensor data 402 of FIG. 5, for example.

At block 704, a point cloud frame based on the sensor data received atblock 702 is obtained. In some embodiments, the sensor data received atblock 702 includes the point cloud frame (e.g., a laser controller orsensor head controller stitched depth data together to form the pointcloud). In these embodiments, block 704 includes extracting the pointcloud frame from the rest of the sensor data received at block 702. Inother embodiments, block 704 includes analyzing depth or lidar dataincluded in the sensor data received at block 702 to generate the pointcloud frame, as discussed in connection to FIG. 3, for example.

At block 706, a point cloud object within the point cloud frame obtainedat block 704 is identified. In some embodiments, block 706 includespartitioning the point cloud frame into portions in accordance withprobable boundaries between separate physical objects, determiningobject types/classes for at least some of those portions, and/ortracking movement of classified objects over time, for example, byutilizing a perception component 406 of the vehicle controller 400 ofFIG. 5. In one example, a tracking module 414 of the perceptioncomponent 406 tracks objects across multiple point cloud frames. In thisexample, the tracking module 414 identifies objects within the pointcloud frame obtained at block 704 that are currently being tracked. Inanother example, the segmentation module 410 identifies a new objectthat is not being tracked by the tracking module 416.

At block 708, the point cloud object identified at block 706 isdetermined to be skewed relative to an expected configuration of thepoint cloud object. For example, the point cloud object may be skeweddue to the above-described rolling shutter distortion. In someimplementations, the point cloud object is classified (for example by aclassification module 412 of the perception component 406) as an objectthat has a particular shape (e.g., an Acme Sedan, a stop sign, a person,etc.). Accordingly, determining that the object is skewed may includecomparing a bound of the point cloud object to a bound of a referenceobject associated with the classification module.

In some implementations, the expected configuration is determined basedupon the relative position between the vehicle and the object. Forexample, the classification module 412 may associate the point cloudobject with a generic object of the same type of object. The genericobject may be rotated and/or scaled based on the determined relativeposition to determine the expected configuration of the point cloudobject. Skew may then be determined by comparing the expectedconfiguration and the apparent/sensed configuration, and identifying asubstantial difference (e.g., greater than a threshold difference)between the two. In other implementations and/or scenarios, it isdetermined that the object is skewed because a bound of the point cloudobject is determined to be curved when it is known that the point cloudobject should instead have a straight bound. For example, theclassification module 412 may have classified the point cloud object asa type associated with a rule that side bounds should be approximatelyvertical (e.g., a truck container). Thus, the expected configuration ofthat bound is a line.

In yet other implementations, the expected configuration is determinedbased upon map data of the environment through which the vehicle ismoving. For example, as illustrated in FIG. 6, the vehicle controllermay be configured to receive mapping data via the network interface 516.The mapping data may include a plurality of images associated withlocation and/or geoposition data. Accordingly, for objects that arestationary and/or are generally permanent in the environment, themapping data may include image data that is representative of the actualconfiguration of the object. Thus, based on positioning data receivedover a vehicle bus and a relative position of the point cloud objectwith respect to the vehicle, the representation of the object asincluded in the mapping data can be identified. As a result, instead ofidentifying and/or classifying the point cloud object as a particulartype of object and rotating and/or scaling the generic object, the pointcloud object may be compared to the corresponding representation in themapping data to determine a relative viewing angle between the pointcloud frame and the representation in the map data. Based on thisrelative viewing angle, the point cloud object may be rotated and/orscaled such that the point cloud object and the map data are analyzedfrom the same perspective.

At block 710, the relative velocity of the point cloud object identifiedat block 706 is determined by analyzing the skew of the object. Forexample, a machine learning model (e.g., trained using reinforcementlearning) may associate an amount of skew to relative velocity. Inparticular, the machine learning model may operate on (i.e., use asinputs) the point cloud object identified at block 706 and the expectedconfiguration.

In some scenarios, the point cloud object identified at block 706 isskewed along multiple axes. Accordingly, the skew with respect to eachaxis may be analyzed to determine the components of the velocity vectorwith respect to each of these axes. For example, a lateral skew isanalyzed to determine a lateral component of the relative velocity and alongitudinal skew is analyzed to determine a longitudinal component ofthe relative velocity. Accordingly, the machine learning model mayanalyze lateral bounds of the point cloud object and the expectedconfiguration to detect the lateral skew and longitudinal bounds of thepoint cloud object and the expected configuration to detect thelongitudinal skew. In some implementations, the tracking module 414, forexample, associates the determined relative velocity with the pointcloud object.

In some embodiments, the method 700 includes one or more additionalblocks not shown in FIG. 8. For example, in some embodiments, the sensordata received at block 702 includes velocity data indicative of thevehicle velocity (such as velocity data included in component reportingmessages transmitted over a vehicle bus). In this example, the method700 may include an additional block where the vehicle velocity issubtracted from the relative velocity determined at block 710 todetermine the velocity of the point cloud object. As another example,the method 700 may include correcting the skew based on the relativevelocity determined at block 710. To this end, the point cloud objectmay be adjusted to align with the expected configuration. As yet anotherexample, the point cloud object (either corrected or uncorrected) andthe relative velocity may be analyzed, for example by the predictioncomponent 420 of FIG. 5, to predict a future state of the vehicleenvironment. This additional block may further include generating one ormore control signals (e.g., operational parameters) that controloperation of the vehicle and/or the particular components thereof basedon the predicted future state. As one example, if the relative velocityindicates that the point cloud object is rapidly increasing its speed inthe direction towards the vehicle along the longitudinal axis, then theblock may include generate a control signal to apply the vehicle brakes.

FIG. 9 depicts an example method 720 for determining relative velocityof a point cloud object based on depth data associated with co-locatedpixels. In one implementation, the lidar system (such as the lidarsystem 100 of FIGS. 1 and 2) is configured to follow a scan pattern thatincludes co-located pixels, for example, the co-located pixels 166include in scan pattern 160 of FIG. 1B. In additional or alternativeimplementations, the sensor heads 312A and 312D of the lidar system 302of FIG. 3A are configured to implement complimentary, overlapping scanpatterns wherein at least one pixel from the scan pattern implemented bythe sensor head 312A is co-located with at least one pixel from the scanpattern implemented by the sensor head 312D. In these implementations,the scan patterns are configured such that the depth data associatedwith the co-located pixels are not obtained at the same time.

The method 720 begins with receiving sensor data at block 722. Thesensor data may include lidar depth data (e.g., sensed by the lidarsystem 100 of FIGS. 1 and 2, or the lidar system 302 of FIG. 3A), lidarpoint cloud data (e.g., stitched or compiled lidar depth data), cameradata, and any other type of sensor data discussed above in connectionwith the sensor data 402 of FIG. 5, for example. Block 722 may be thesame or similar to block 702 of the method 700.

At block 724, a point cloud frame based on the sensor data received atblock 722 is obtained. In some embodiments, the sensor data received atblock 722 includes the point cloud frame (e.g., a laser controller orsensor head controller stitched depth data together to form the pointcloud). In these embodiments, block 724 may include extracting the pointcloud frame from the rest of the sensor data received at block 722. Inother embodiments, block 724 includes analyzing depth or lidar dataincluded in the sensor data received at block 722 to generate the pointcloud frame, as discussed in connection to FIG. 3, for example. Block724 may be the same or similar to block 704 of the method 700.

At block 726, co-located pixels within the field of regard that overlapa point cloud object within the point cloud frame obtained at block 724are identified. In some embodiments, block 726 includes partitioning thepoint cloud frame into portions in accordance with probable boundariesbetween separate physical objects, determining object types/classes forat least some of those portions, and tracking movement of classifiedobjects over time, for example, by utilizing a perception component 406of the software architecture 400 of FIG. 5. In one example, a trackingmodule 414 of the perception component 406 tracks objects acrossmultiple point cloud frames. In this example, the tracking module 414identifies objects within the point cloud frame obtained at block 724that are currently being tracked. In another example, the segmentationmodule 410 identifies a new object that is not being tracked by thetracking module 416. In any event, after any point cloud objectsincluded in the cloud frame have been identified, block 726 includesdetermining that a pair of co-located pixels overlaps one of the pointcloud objects.

At block 728, depth data associated with the co-located pixels areanalyzed to determine a depth difference (Δd). Generally, Δt isindicative of the time span between capturing/sensing the depth dataassociated with the two co-located pixels, and Δd is indicative of thedistance the object moved, relative to the vehicle and either towards oraway from the vehicle, during the time span Δt. Accordingly, at block730, relative velocity of the object may be determined by based on Δdand Δt. More particularly, in some implementations, the relativevelocity is determined by dividing Δd by Δt. In some embodiments, thelidar system 100 includes a clock that time stamps the depth data whenit is sensed at the receiver 140. Said another way, blocks 728 and 730may implement Equation 4 using the depth and time data associated withthe co-located pixels as inputs. Further, if Δd is determined at block728 by subtracting the depth data of the later-sensed co-located pixelfrom the depth data of the earlier-sensed co-located pixel, the polarityof Δd is indicative of the direction of travel of the point cloudobject. In particular, when Δd is a positive number, the point cloudobject is moving away from the vehicle and, conversely, when Δd is anegative number, the point cloud object is moving towards the vehicle.

In some embodiments, the method 720 includes one or more additionalblocks not shown in FIG. 9. For example, in some embodiments, the sensordata received at block 722 includes velocity data indicative of thevehicle velocity (such as velocity data included in component reportingmessages transmitted over a vehicle bus). In this example, the method720 may include an additional block where the vehicle velocity issubtracted from the relative velocity determined at block 730 todetermine the velocity of the point cloud object.

As another example, an additional block may include identifying a secondset of co-located pixels that overlap the point cloud object at adifferent region of the point cloud object. This block may includedetermining a relative velocity of the point cloud object based on thesecond set of co-located pixels. The two relative velocities may then becompared to one other to detect whether the point cloud object isturning or rotating.

Another additional block may include correcting rolling shutterdistortion based on the relative velocity determined at block 730. Tothis end, the point cloud object may be adjusted to compensate for themotion of the point cloud object during the collection of depth datathat comprises the point cloud frame. For example, a machine learningmodule (e.g., trained using reinforcement learning) may associate anamount of distortion to relative velocity and point cloud object depth.In particular, the machine learning model may operate on (i.e., use asinputs) the relative velocity determined at block 730 and the depth dataof the co-located pixels to determine a correction factor to compensatefor delay introduced by successive pixels and/or scan lines included ina scan pattern.

Another additional block of the method 600 may include determining anobject velocity (i.e. the object's absolute velocity, as opposed to itsrelative velocity). For example, a relative velocity of a point cloudobject that is known to be stationary (e.g., the point cloud object isclassified as a light pole, a street sign, a tree, a bench, a powerline, a building, a median, etc.) may be determined using the techniquesof blocks 606 and 608. Because the point cloud object is known to bestationary, the relative velocity is comprised solely of the vehicle'svelocity. Said another way, by determining the relative velocity withrespect to a known, stationary object, the vehicle velocity can bedetermined. Subsequently, the vehicle velocity can be subtracted fromthe relative velocity determined with respect to the identified pointcloud object to determine object velocity.

As yet another example, the point cloud object (either corrected oruncorrected) and the relative velocity may be analyzed, for example bythe prediction component 420 of FIG. 5, to predict a future state of thevehicle environment. This additional block may further includegenerating one or more control signals (e.g., operational parameters)that control operation of the vehicle and/or the particular componentsthereof based on the predicted future state. As one example, if therelative velocity indicates that the point cloud object is rapidlyincreasing its speed in the direction towards the vehicle along thelongitudinal axis, then the block may include generate a control signalto apply the vehicle brakes.

FIG. 10 depicts an example method 740 for correcting point clouddistortion based on tracked object velocity. Whereas the methods 700 and720 determine the relative velocity of the point cloud object based on asingle point cloud frame, the method 740 determines the relativevelocity of the point cloud object across multiple point cloud frames.Accordingly, while this increases the time it takes to determine arelative velocity of a newly detected point cloud object,already-tracked objects may be associated with historic position data.Thus, by comparing a point cloud object as represented in a new pointcloud frame to the historic position data, the relative velocity of analready-tracked object can be determined based on a single successivepoint cloud frame.

The method 740 begins when sensor data is received at block 742. Thesensor data may include lidar depth data (e.g., sensed by the lidarsystem 100 of FIGS. 1 and 2, or the lidar system 302 of FIG. 3A), lidarpoint cloud data (e.g., stitched or compiled lidar depth data), cameradata, and any other type of sensor data discussed above in connectionwith the sensor data 402 of FIG. 5, for example. Block 742 may be thesame or similar to performing block 702 of the method 700, but withrespect to subsequent sets of sensor data.

At block 744, two or more point cloud frames based on the sensor datareceived at block 742 are obtained. In some embodiments, the sensor datareceived at block 742 includes the point cloud frames (e.g., a lasercontroller or sensor head controller stitched depth data together toform the point cloud). In these embodiments, block 744 may includeextracting the point cloud frames from rest of the sensor data receivedat block 742. In other embodiments, block 744 includes analyzingmultiple sets of depth or lidar data included in the sensor datareceived at block 742 to generate the point cloud frames, as discussedin connection with FIG. 3, for example. Block 744 may be the same orsimilar to performing block 704 of the method 700, but with respect tosubsequent sets of sensor data.

At block 746, a point cloud object is tracked across the two or morepoint cloud frames. In some embodiments, block 746 includes partitioninga first point cloud frame into portions in accordance with probableboundaries between separate physical objects, determining objecttypes/classes for at least some of those portions, and tracking movementof the classified objects over time, for example, by utilizing aperception component 406 of the vehicle controller 400 of FIG. 5. In oneexample, a tracking module 414 of the perception component 406 tracksobjects across multiple point cloud frames. More particularly, thetracking component 414 may associate tracked objects with position data(such as a position within the field of regard, a position in thevehicle environment, and/or a position relative to the vehicle), shapedata, orientation data, or other information. In variousimplementations, the position data may be indicative of one or more of aposition of the centroid of the point cloud object, a particular featureof the point cloud object, or a particular bound of the point cloudobject. In this example, the point cloud object identified in the firstpoint cloud object can be detected in the second point cloud frame(i.e., tracked across the first and second point cloud frames) using theassociated shape or orientation information.

At block 748, a relative velocity of the point cloud object tracked atblock 746 is determined. In one example, the position data of the pointcloud object as represented in the first point cloud frame is subtractedfrom the position data of the point cloud object as represented in thesecond point cloud frame. This difference is divided by the timedifference between the first and second point cloud frames to determinethe relative velocity of the tracked object.

At block 750, rolling shutter distortion associated with the point cloudobject tracked at block 746 is corrected based on the relative velocitydetermined at block 748. To correct the point cloud object, in oneexample, a machine learning module (e.g., trained using reinforcementlearning) may associate an amount of distortion to relative velocity andpoint cloud object position information. In particular, the machinelearning model may operate on (i.e., use as inputs) the relativevelocity determined at block 748 and position information associatedwith the point cloud object to determine a correction factor tocompensate for delay introduced by successive pixels and/or scan linesincluded in a scan pattern. Accordingly, based on the scan patternutilized to capture the point cloud data, the correction factor isapplied to the tracked point cloud object to correct for the rollingshutter distortion.

As another example, a relative velocity of a point cloud object that isknown to be stationary (e.g., the point cloud object is classified as alight post, a street sign, a tree, a bench, a power line, a building, amedian, etc.) is determined using the techniques of blocks 746 and 748and/or the techniques of blocks 606 and 608 of the method 600. Becausethe point cloud object is known to be stationary, the relative velocityis comprised solely of the vehicle's velocity. Said another way, bydetermining the relative velocity with respect to a known, stationaryobject, the vehicle velocity can be determined. Subsequently, thevehicle velocity can be subtracted from the relative velocity determinedwith respect to the identified point cloud object to determine objectvelocity.

In some embodiments, the method 740 includes one or more additionalblocks not shown in FIG. 10. For example, in some embodiments, thesensor data received at block 742 includes velocity data indicative ofthe vehicle velocity (such as velocity data included in componentreporting messages transmitted over a vehicle bus). In this example, themethod 740 may include an additional block where the vehicle velocity issubtracted from the relative velocity determined at block 748 todetermine the velocity of the point cloud object. As another example,the corrected point cloud object and the relative velocity may beanalyzed, for example by the prediction component 420 of FIG. 5, topredict a future state of the vehicle environment. This additional blockmay further include generating one or more control signals (e.g.,operational parameters) that control operation of the vehicle and/or theparticular components thereof based on the predicted future state.

Example Methods for Detecting that an Object is Distorted

FIGS. 11 and 12 depict example methods 800 and 820, respectively, fordetecting that a point cloud object, for example, one of the objects 396of the point cloud 390 depicted in FIG. 4, is distorted and not actuallyshaped in a manner that appears distorted. The method 800 of FIG. 11relates to embodiments that detect distortion by analyzing known shapes,and the method 820 of FIG. 12 detects distortion by analyzing sensordata other than just lidar or depth data. The methods 800 and 820 may beimplemented/performed by the computing system 500 of FIG. 6 (e.g., bythe processor(s) 502 when executing the vehicle controller instructions506 stored in memory 504), for example, by another suitable computingdevice or system (such as a controller of the laser 310 or the sensorheads 312 of FIG. 3A, or the software architecture 400 of FIG. 5), or bya combination thereof.

Referring first to the method 800 of FIG. 11, sensor data is received atblock 802. The sensor data may include lidar depth data (e.g., sensed bythe lidar system 100 of FIGS. 1 and 2, or the lidar system 302 of FIG.3A), lidar point cloud data (e.g., stitched or compiled lidar depthdata), camera data, and any other type of sensor data discussed above inconnection with the sensor data 402 of FIG. 5, for example.

At block 804, a point cloud frame based on the sensor data received atblock 802 is obtained. In some embodiments, the sensor data received atblock 802 includes the point cloud frame (e.g., a laser controller orsensor head controller stitched depth data together to form the pointcloud). In these embodiments, block 804 may include extracting the pointcloud frame from rest of the sensor data received at block 802. In otherembodiments, block 804 includes analyzing depth or lidar data includedin the sensor data received at block 802 to generate the point cloudframe, as discussed in connection to FIG. 3, for example.

At block 806, a point cloud object within the point cloud frame obtainedat block 804 is identified. In some embodiments, block 806 includespartitioning the point cloud frame into portions in accordance withprobable boundaries between separate physical objects, determiningobject types/classes for at least some of those portions, and trackingmovement of classified objects over time, for example, by utilizing aperception component 406 of the vehicle controller 400 of FIG. 5. In oneexample, a tracking module 414 of the perception component 406 tracksobjects across multiple point cloud frames. In this example, thetracking module 414 identifies objects within the point cloud frameobtained at block 704 that are currently being tracked. In anotherexample, the segmentation module 410 may identifies a new object that isnot being tracked by the tracking module 416.

At block 808, the point cloud object identified at block 806 is analyzedto identify a feature that has an expected shape. For example, theclassification module 412 of the perception component 406 classifies theidentified point cloud object as a particular object type. The objecttype may be associated with a model that includes indications ofparticular expected features for point cloud objects classified as theparticular object type. As one example, a car object type has wheelsthat are expected to be round, a license plate that is expected to berectangular, and perhaps a manufacturer logo that has a known shape. Asanother example, a streetlight object may be expected to have roundlight bulbs. As yet another example, a stop sign object is expected tobe octagonal. Accordingly, block 808 includes analyzing the point cloudobject identified at block 806 to detect the region in the point cloudobject associated with the feature that has the expected shape.

At block 810, the expected shape of the feature is compared to the shapeof the feature of the point cloud object as represented in the pointcloud frame obtained at block 804. The expected shape of the feature maybe scaled and/or rotated based on depth data associated with the pointcloud object. Said another way, the expected shape of the feature isadjusted to account for how the feature is oriented in the point cloudframe. Accordingly, block 810 may include comparing the adjustedexpected feature shape to the region on the point cloud objectassociated with the feature. Alternatively, the feature of the pointcloud object may be scaled and/or rotated to match, as closely aspossible, a fixed size and orientation corresponding to the expectedfeature shape.

At block 812, the point cloud object identified at block 806 isdetermined to be distorted based on the expected feature shape notmatching the feature of the point cloud object corresponding to thefeature. For example, the feature of the point cloud object may beskewed with respect to the expected feature shape due to rolling shutterdistortion. Accordingly, in some implementations, in addition todetermining that point cloud object is distorted, block 812 includesdetermining a skew factor indicative of an amount of skew introduced byeach scan line and/or component pixel thereof. The skew factor can be athree-dimensional vector representative of the direction via which theskew is introduced. To determine the skew factor, block 812 may includedetermining an amount by which the point cloud feature is skewed withrespect to the expected feature shape at two different pixels thatoverlap the point cloud feature. The difference in skews with respect tothe expected configuration is then divided by a number of pixels and/orscan lines between when the pixels were captured to determine a skewfactor indicative of an amount and direction of skew introduced by eachpixel and/or scan line. Accordingly, in some implementations, block 812includes correcting for the detected skew by utilizing the skew factorto compensate for the amount of skew introduced by each successive scanline and/or pixel.

In some embodiments, the method 800 includes one or more additionalblocks not shown in FIG. 11. For example, in some embodiments, thedistortion of the point cloud object and/or the skew factor determinedat block 812 is analyzed to determine the relative velocity of the pointcloud object, for example, using the method 700 of FIG. 8. As yetanother example, the point cloud object, for example by the predictioncomponent 420 of FIG. 5, to predict a future state of the vehicleenvironment. This additional block may further include generating one ormore control signals (e.g., operational parameters) that controloperation of the vehicle and/or the particular components thereof basedon the predicted future state.

Referring now to the method 820 of FIG. 12, sensor data is received atblock 822. The sensor data includes a first set of sensor data capturedby a first set of one or more sensors configured to sense the vehicle bysequentially advancing through a plurality of points in a scan patternduring a frame, such as lidar depth data sensed by the lidar system 100of FIGS. 1 and 2, or the lidar system 302 of FIG. 3A. The sensor dataalso includes a second set of sensor data captured by a second set ofone or more sensors that are configured to sense the vehicle environmentby capturing the entirety of a frame at a single time, such as cameradata captured by a RGB or stereo camera or a thermal imaging sensor.

At block 824, the first set of sensor data is analyzed to obtain a pointcloud representation of an object within the vehicle environment. Forexample, the object may be a vehicle, a road, a street sign, a person, atree, etc. Accordingly, each of the first and second sets of sensor mayinclude a different digital representation of the same object. In someembodiments, the first set of sensor data received at block 822 includesthe point cloud frame (e.g., a laser controller or sensor headcontroller stitched depth data together to form the point cloud). Inthese embodiments, block 824 includes extracting the point cloud framefrom rest of the first set of sensor data received at block 822. Inother embodiments, block 824 includes analyzing the first set of sensordata received at block 802 to generate the point cloud frame, asdiscussed in connection to FIG. 3, for example. In any event, aperception component, such as the perception component 406 of FIG. 5,analyzes the point cloud frame to identify the object. For example, atracking module 414 of the perception component 414 may compare trackedobjects to the obtained point cloud frame. Accordingly, the trackingcomponent 414 may identify the point cloud representation of the objectin the point cloud frame.

At block 826, the second set of sensor data is analyzed to obtain asecond digital representation of the object. For example, if the secondset of sensor is captured by a RGB camera, the second representation ofthe object may be a subset of the RGB data that corresponds to theobject. For instance, the perception component 406 may associate thefirst and second sets of sensor data with one another. That is, theperception component 406 may analyze the viewing angles at which thefirst and second sets of sensors sensed the first and second sets ofsensor data to identify regions in each set of sensor datarepresentative of the same portion of the vehicle environment, forexample, the object analyzed at block 824. In some implementations, thetracking module 414 associates the point cloud object analyzed at block826 with RGB data indicative of the object. Thus, the tracking module414 may utilizes the associated RGB data to identify the object withinthe second set of sensor data. In other implementations, the perceptioncomponent 406 includes separate segmentation, classification, and/ortracking modules optimized to analyze RGB data. In theseimplementations, the point cloud representation of the object and theRGB data representation of the object are tracked separately.

At block 828, the point cloud object and the representation of theobject in the second set of sensor data are compared to each other. Moreparticularly, the depth data associated with the first set of sensordata may be “flattened” to obtain a two-dimensional representation ofthe point cloud object. The shape of the flattened point cloud objectmay be compared to the shape of the object as represented in the secondset of sensor data. In some implementations, the shape of the object asrepresented in the second set of sensor data is adjusted to account forthe different viewing angles associated with the first and second set ofsensors.

At block 830, the point cloud representation of the object is identifiedas distorted based on the comparison at block 828. As described above,because a frame based on the second set of sensor data is captured at asingle time, there is no rolling shutter distortion that impacts theshape of the object as represented in the second set of sensor data.Said another way, the second set of sensor data indicates the “true”shape of the object. Thus, when the comparison at block 828 indicatesthat the shape of the point cloud representation of the object and theshape of the object as represented by the second set of sensor data donot match, it is determined that the point cloud object (i.e., therepresentation of the object, as opposed to the object itself) isdistorted.

In some embodiments, the method 820 includes one or more additionalblocks not shown in FIG. 12. For example, one additional block mayinclude determining a skew factor indicative of an amount of skewintroduced by each scan line and/or component pixel thereof. The skewfactor can be a three-dimensional vector representative of the directionvia which the skew is introduced. To determine the skew factor, thisadditional block may include determining an amount of the point cloudfeature is skewed with respect to an expected configuration as indicatedby the second set of sensor data at two different pixels that overlapthe point cloud feature based on the comparison at block 830. Thedifference in skew with respect to the second set of sensor data is thendivided by a number of pixels and/or scan lines between when the pixelswere captured to determine the skew factor. Accordingly, in someimplementations, this additional block includes correcting for thedetected skew by utilizing the skew factor to compensate for the amountof skew introduced by each successive scan line and/or pixel

As another example, in some embodiments, the distortion of the pointcloud object and/or the skew factor determined at the above additionalblock is analyzed to determine the relative velocity of the point cloudobject, for example, using the method 700 of FIG. 8. As yet anotherexample, the point cloud object, for example by the prediction component420 of FIG. 5, to predict a future state of the vehicle environment.This additional block may further include generating one or more controlsignals (e.g., operational parameters) that control operation of thevehicle and/or the particular components thereof based on the predictedfuture state.

Although this disclosure describes example embodiments where a lidarsystem is incorporated into a vehicle, the embodiments described hereinmay also be applied to stationary lidar systems. For example, a lidarsystem may be affixed to a stationary object (e.g., a light pole, autility pole, a street sign, a traffic light, or a building). Anyrolling shutter distortion of an object may be attributed to movement ofthat object since the stationary lidar system would not contribute tothe rolling shutter distortion. As a result, a stationary lidar systemmay be configured to determine the absolute velocity of objects ratherthan a relative velocity.

GENERAL CONSIDERATIONS

In some cases, a computing device may be used to implement variousmodules, circuits, systems, methods, or algorithm steps disclosedherein. As an example, all or part of a module, circuit, system, method,or algorithm disclosed herein may be implemented or performed by ageneral-purpose single- or multi-chip processor, a digital signalprocessor (DSP), an ASIC, a FPGA, any other suitable programmable-logicdevice, discrete gate or transistor logic, discrete hardware components,or any suitable combination thereof. A general-purpose processor may bea microprocessor, or, any conventional processor, controller,microcontroller, or state machine. A processor may also be implementedas a combination of computing devices, e.g., a combination of a DSP anda microprocessor, a plurality of microprocessors, one or moremicroprocessors in conjunction with a DSP core, or any other suchconfiguration.

In particular embodiments, one or more implementations of the subjectmatter described herein may be implemented as one or more computerprograms (e.g., one or more modules of computer-program instructionsencoded or stored on a computer-readable non-transitory storage medium).As an example, the steps of a method or algorithm disclosed herein maybe implemented in a processor-executable software module which mayreside on a computer-readable non-transitory storage medium. Inparticular embodiments, a computer-readable non-transitory storagemedium may include any suitable storage medium that may be used to storeor transfer computer software and that may be accessed by a computersystem. Herein, a computer-readable non-transitory storage medium ormedia may include one or more semiconductor-based or other integratedcircuits (ICs) (such, as for example, field-programmable gate arrays(FPGAs) or application-specific ICs (ASICs)), hard disk drives (HDDs),hybrid hard drives (HHDs), optical discs (e.g., compact discs (CDs),CD-ROM, digital versatile discs (DVDs), blue-ray discs, or laser discs),optical disc drives (ODDs), magneto-optical discs, magneto-opticaldrives, floppy diskettes, floppy disk drives (FDDs), magnetic tapes,flash memories, solid-state drives (SSDs), RAM, RAM-drives, ROM, SECUREDIGITAL cards or drives, any other suitable computer-readablenon-transitory storage media, or any suitable combination of two or moreof these, where appropriate. A computer-readable non-transitory storagemedium may be volatile, non-volatile, or a combination of volatile andnon-volatile, where appropriate.

In some cases, certain features described herein in the context ofseparate implementations may also be combined and implemented in asingle implementation. Conversely, various features that are describedin the context of a single implementation may also be implemented inmultiple implementations separately or in any suitable sub-combination.Moreover, although features may be described above as acting in certaincombinations and even initially claimed as such, one or more featuresfrom a claimed combination may in some cases be excised from thecombination, and the claimed combination may be directed to asub-combination or variation of a sub-combination.

While operations may be depicted in the drawings as occurring in aparticular order, this should not be understood as requiring that suchoperations be performed in the particular order shown or in sequentialorder, or that all operations be performed. Further, the drawings mayschematically depict one more example processes or methods in the formof a flow diagram or a sequence diagram. However, other operations thatare not depicted may be incorporated in the example processes or methodsthat are schematically illustrated. For example, one or more additionaloperations may be performed before, after, simultaneously with, orbetween any of the illustrated operations. Moreover, one or moreoperations depicted in a diagram may be repeated, where appropriate.Additionally, operations depicted in a diagram may be performed in anysuitable order. Furthermore, although particular components, devices, orsystems are described herein as carrying out particular operations, anysuitable combination of any suitable components, devices, or systems maybe used to carry out any suitable operation or combination ofoperations. In certain circumstances, multitasking or parallelprocessing operations may be performed. Moreover, the separation ofvarious system components in the implementations described herein shouldnot be understood as requiring such separation in all implementations,and it should be understood that the described program components andsystems may be integrated together in a single software product orpackaged into multiple software products.

Various implementations have been described in connection with theaccompanying drawings. However, it should be understood that the figuresmay not necessarily be drawn to scale. As an example, distances orangles depicted in the figures are illustrative and may not necessarilybear an exact relationship to actual dimensions or layout of the devicesillustrated.

The scope of this disclosure encompasses all changes, substitutions,variations, alterations, and modifications to the example embodimentsdescribed or illustrated herein that a person having ordinary skill inthe art would comprehend. The scope of this disclosure is not limited tothe example embodiments described or illustrated herein. Moreover,although this disclosure describes or illustrates respective embodimentsherein as including particular components, elements, functions,operations, or steps, any of these embodiments may include anycombination or permutation of any of the components, elements,functions, operations, or steps described or illustrated anywhere hereinthat a person having ordinary skill in the art would comprehend.

The term “or” as used herein is to be interpreted as an inclusive ormeaning any one or any combination, unless expressly indicated otherwiseor indicated otherwise by context. Therefore, herein, the expression “Aor B” means “A, B, or both A and B.” As another example, herein, “A, Bor C” means at least one of the following: A; B; C; A and B; A and C; Band C; A, B and C. An exception to this definition will occur if acombination of elements, devices, steps, or operations is in some wayinherently mutually exclusive.

As used herein, words of approximation such as, without limitation,“approximately, “substantially,” or “about” refer to a condition thatwhen so modified is understood to not necessarily be absolute or perfectbut would be considered close enough to those of ordinary skill in theart to warrant designating the condition as being present. The extent towhich the description may vary will depend on how great a change can beinstituted and still have one of ordinary skill in the art recognize themodified feature as having the required characteristics or capabilitiesof the unmodified feature. In general, but subject to the precedingdiscussion, a numerical value herein that is modified by a word ofapproximation such as “approximately” may vary from the stated value by±0.5%, ±1%, ±2%, ±3%, ±4%, ±5%, ±10%, ±12%, or ±15%.

As used herein, the terms “first,” “second,” “third,” etc. may be usedas labels for nouns that they precede, and these terms may notnecessarily imply a particular ordering (e.g., a particular spatial,temporal, or logical ordering). As an example, a system may be describedas determining a “first result” and a “second result,” and the terms“first” and “second” may not necessarily imply that the first result isdetermined before the second result.

As used herein, the terms “based on” and “based at least in part on” maybe used to describe or present one or more factors that affect adetermination, and these terms may not exclude additional factors thatmay affect a determination. A determination may be based solely on thosefactors which are presented or may be based at least in part on thosefactors. The phrase “determine A based on B” indicates that B is afactor that affects the determination of A. In some instances, otherfactors may also contribute to the determination of A. In otherinstances, A may be determined based solely on B.

What is claimed is:
 1. A computer-implemented method of determiningrelative velocity between a vehicle and an object, the methodcomprising: receiving sensor data generated by one or more sensors ofthe vehicle, wherein the one or more sensors are configured to sense anenvironment through which the vehicle is moving by following a scanpattern comprising component scan lines; obtaining, by one or moreprocessors, a point cloud frame based on the sensor data andrepresentative of the environment; identifying, by the one or moreprocessors, a point cloud object within the point cloud frame;determining, by the one or more processors, that the point cloud objectis skewed relative to an expected configuration of the point cloudobject; and determining, by the one or more processors, a relativevelocity of the point cloud object by analyzing the skew of the object.2. The computer-implemented method of claim 1, wherein determining therelative velocity comprises: determining, by the one or more processors,a lateral component of relative velocity based upon an amount of lateralskew associated with successive scan lines overlapping the point cloudobject.
 3. The computer-implemented method of claim 1, whereindetermining the relative velocity comprises: determining, by the one ormore processors, a longitudinal component of relative velocity basedupon an amount of longitudinal skew associated with successive scanlines overlapping the point cloud object.
 4. The computer-implementedmethod of claim 1, wherein determining the relative velocity comprises:determining, using a machine learning model executed by the one or moreprocessors, the relative velocity.
 5. The computer-implemented method ofclaim 1, further comprising: determining, by the one or more processors,that the point cloud object is skewed at least in part due to distortionarising from a time delay between scanning different portions of thescan pattern.
 6. The computer-implemented method of claim 1, furthercomprising: correcting, by the one or more processors, the skew of thepoint cloud object based upon the determined relative velocity of thepoint cloud object.
 7. The computer-implemented method of claim 1,further comprising: generating, based on the determined relativevelocity of the point cloud object, a predicted future state of theenvironment of the vehicle.
 8. The computer-implemented method of claim6, further comprising: generating, based upon the predicted futurestate, one or more control signals to control operation of the vehicle.9. The computer-implemented method of claim 1, further comprising:classifying, by the one or more processors, the point cloud object as aparticular type of object.
 10. The computer-implemented method of claim9, further comprising: determining, by the one or more processors, theexpected configuration of the point cloud object based on the particulartype of object.
 11. The computer-implemented method of claim 10, whereindetermining that the point cloud object is skewed relative to theexpected configuration of the point cloud object comprises: comparing,by the one or more processors, the point cloud object to a generic modelof the point cloud object of the particular type of object.
 12. Thecomputer-implemented method of claim 11, further comprising:determining, by the one or more processors, an orientation or scale ofthe generic model of the point cloud object based on a relative positionbetween the point cloud object and the vehicle.
 13. Thecomputer-implemented method of claim 10, wherein determining that thepoint cloud object is skewed relative to the expected configuration ofthe point cloud object comprises: comparing, by the one or moreprocessors, a bound of the point cloud object to an expected bound forobjects of the particular type of object.
 14. The computer-implementedmethod of claim 1, wherein determining that the point cloud object isskewed relative to the expected configuration of the point cloud objectcomprises: comparing, by the one or more processors, the point cloudobject to map data of the environment through which the vehicle ismoving.
 15. A system within an autonomous vehicle, the systemcomprising: a set of sensors configured to generate a set of sensor databy sensing an environment of the vehicle by following a scan patterncomprising component scan lines; and a computing system configured to:receive the set of sensor data; obtain a point cloud frame based on thesensor data and representative of the environment; identify a pointcloud object within the point cloud frame; determine that the pointcloud object is skewed relative to an expected configuration of thepoint cloud object; and determine a relative velocity of the point cloudobject by analyzing the skew of the object.
 16. The system of claim 15,wherein to determine the relative velocity, the computing system isconfigured to: determine a lateral component of relative velocity basedupon an amount of lateral skew associated with successive scan linesoverlapping the point cloud object.
 17. The system of claim 15, whereinto determine the relative velocity, the computing system is configuredto: determine a longitudinal component of relative velocity based uponan amount of longitudinal skew associated with successive scan linesoverlapping the point cloud object.
 18. The system of claim 15, whereinto determine the relative velocity, the computing system is configuredto: determine, using a machine learning model, the relative velocity.19. The system of claim 15, wherein the computing system is configuredto: correct the skew of the point cloud object based upon the determinedrelative velocity of the point cloud object.
 20. The system of claim 14,wherein the computing system is configured to: generate, based on thedetermined relative velocity of the point cloud object, a predictedfuture state of the environment of the vehicle.
 21. The system of claim20, wherein the computing system is configured to: generate, based uponthe predicted future state, one or more control signals to controloperation of the vehicle.
 22. The system of claim 15, wherein thecomputing system is configured to: classify the point cloud object as aparticular type of object.
 23. The system of claim 22, wherein thecomputing system is configured to: determine the expected configurationof the point cloud object based on the particular type of object. 24.The system of claim 23, wherein to determine that the point cloud objectis skewed relative to the expected configuration of the point cloudobject, the computing system is configured to: compare the point cloudobject to a generic model of the point cloud object of the particulartype of object.
 25. The system of claim 24, wherein the computing systemis configured to: determine an orientation or scale of the generic modelof the point cloud object based on a relative position between the pointcloud object and the vehicle.
 26. The system of claim 23, wherein todetermine that the point cloud object is skewed relative to the expectedconfiguration of the point cloud object, the computing system isconfigured to: compare a bound of the point cloud object to an expectedbound for objects of the particular type of object.